I’m trying to make a multi-dimensional vector and I am with out a doubt.
QList<QString<QString>> CurrPerson;
I have a loop and within that loop variable data such as:
id, name, city, state, country
I can show the console using the QDebug, but can not create a multi-dimensional vector based on the “id”.
example:
id = {name, city, state, country}
1 = {beowulf, my city, my state, my country}
2 = {youtube, my city, my state, my country}
And then take the data from this vector by id.
qDebug () << myvector.id1; <- example.
↧