Wednesday, July 9, 2014

What is Typedef

We can define new data-type names using the keyword "typedef".
You are not actually creating a new data-type,rather defining a new name for an existing type.This process can help make machine dependent programs more portable.

General form of the typedef statement is
"typedef "type" Newname;
Ex: typedef float balance;

This statement tells the compiler to recognize the balance as another name for float.Next you could create a float variable using balance.

Ex: balance over_due;

Here over_due is floating point variable of the type balance,which is another word for float.

String Table

A string table is a Windows resource that contains a list of IDs, values, and captions for all the strings of your application. For exa...