I have this structure called hello with an integer inside it:
Code:
struct Hello{
int r;
};
Im trying to resize the Hello struct so I can have Hello[0] Hello[1] etc etc with the vector template, but im having a problem. You see, the Hello.reserve() function for the structure, isnt working (capacity returns always 0), cause it takes as data type a Hello structure and not a integer. The same thing goes for the push_back. Im stuck here, can someone help?