Structures
struct is a collection of elements not necessarily of the same type.
Good programming practice: create a new type for struct using typedef.
typedef struct PersonType { string Name;
int Age;
float GPA;
};
persontype Student;
Previous slide
Next slide
Back to first slide
View graphic version