Hi, This must be an easy prob,,,, but my head's not working much today, so posting the query
I want to have a 2D array of integers using QList,
something like QList< QList<int> > > twoDArray; The main purpose of creating the array thru QList is that i dont have the dimensions at the time of declaration. They have to be populated later.
Do I have to iterate each and every element of twoDArray and initialize it witht he correct value ?? Will QVector be better ??
Can someone show a example for the same ?
Bookmarks