The struct keyword was introduced in 'C', its original functionality is documented here.
C++ has added two new features to structures.
ANSI C approch to structures. |
typedef struct Person {int age; char *name} Person_t; struct Person FirstMan; Person_t SecondMan; |
C++ structures. |
struct Person {int age; char *name}; Person FirstMan; Person SecondMan; |
Top | Master Index | C++ Keywords | Functions |