PDA

View Full Version : creating 2-d arrays



therealjag
21st February 2006, 18:36
hey there, would just like to know if there is a way to make 2-d arrays of type integer in c++ to be compatible with Qt??? would it be something like:

int **two_d_array;

or am i totally of track? would accessing the 2-d array be the same way aswell or would that be different too?

jacek
21st February 2006, 18:41
It works just like in pure C++, Qt is just a library it doesn't change the C++ semantics except for signals and slots (which nota bene are implemented as pure C++).