Hello,
What does the following code means?
And where can I find some good information about pointers?Code:int **trait = new int*[k];
Thanks in advance
This is a discussion on Trouble with pointers within the C++ Programming forums, part of the General Programming Boards category; Hello, What does the following code means? Code: int **trait = new int*[k]; And where can I find some good ...
Hello,
What does the following code means?
And where can I find some good information about pointers?Code:int **trait = new int*[k];
Thanks in advance
That creates a 2D array using K pointers to int pointers.
Hope this helps
http://pw1.netcom.com/~tjensen/ptr/pointers.htm