Home » Archives for December 14th, 2009
C++ Structures
C++ Structures:
A structure is a collection of related elements or data items. The elements of the structure are called members of the structure. A structure is unlike an array. All elements in an array are of the same type. But in structures, the elements can be of different types.
The syntax of a structure is very similar to that of a class in C++. The structures are commonly used in file processing....