I would like to have a data structure that keeps a Structure array but doesn't have any idea about its size. My current code is :
SAMPLE_STRUCT temp[NUMBER];
But I would like to have no "NUMBER" in the bracets. I am not allowed to use vectors since I will be sending this packet through network. Also there is the use of sizeof() method. What kind of data structure can I use in this case?