Quick Question. For some reason I can't figure out how to get an array of structures if I am defining the size dynamically.
I can do it for a pointer i.e
struct DB
{
string name;
int age;
string ice;
};
//some lines
DB* data1p;
data1p= new DB[no1];
but i can't figure out how to do the equivalent of pointer = &variable.
Thanks for any help.
Incidently when you get stuck on little problems like this and can't figure them out where do you look for help?