Can I add member variables to a structure, after i have declared it? For example:
struct address
{
char name[50];
char street[100];
};
Can i dynamically (through code), add another member variable to the structure? Using something like address.addMember(pinCode); if something like this exists!
struct address
{
char name[50];
char street[100];
int pinCode;
};
address
structure, which then contains the extra member.struct address;
.