Thread: Trouble with pointers

  1. #1
    Unregistered
    Guest

    Question Trouble with pointers

    Hello,

    What does the following code means?

    Code:
    int **trait = new int*[k];
    And where can I find some good information about pointers?

    Thanks in advance

  2. #2
    Unregistered
    Guest
    That creates a 2D array using K pointers to int pointers.

  3. #3
    Registered User
    Join Date
    Oct 2001
    Posts
    68

    Here is the web site


Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Trouble with pointers..
    By elfjuice in forum C Programming
    Replies: 7
    Last Post: 11-25-2007, 01:19 AM
  2. function pointers
    By benhaldor in forum C Programming
    Replies: 4
    Last Post: 08-19-2007, 10:56 AM
  3. Replies: 4
    Last Post: 12-10-2006, 07:08 PM
  4. trouble with pointers HELP MEEEE???
    By drdodirty2002 in forum C++ Programming
    Replies: 1
    Last Post: 03-10-2004, 12:39 AM
  5. API "Clean Up" Functions & delete Pointers :: Winsock
    By kuphryn in forum Windows Programming
    Replies: 2
    Last Post: 05-10-2002, 06:53 PM