I'm trying to make a simple array that will increase its column size dynamicly and it will have 3 rows.
On the 1st row i want the user to enter a name(aka char type)
and on the other two rows i want the user to enter some float values which refer to the name of the 1st row.
struct namesAndFloats
{
string name;
float value1;
float value2;
};
vector<namesAndFloats> allTheObjects;
namesAndFloats a,b,c;
a.name = Jack;
a.value1=1.3;
a.value2=2.5;
allTheObjects.push_back(a);
// etc for b and c and all the other.