#1
  1. No Profile Picture
    Contributing User
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Feb 2001
    Posts
    1,481
    Rep Power
    15

    int**: what is that?


    I've seen the notation int** K a few times this past week, and I've never seen that notation before. What is that?
  2. #2
  3. Banned ;)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Nov 2001
    Location
    Woodland Hills, Los Angeles County, California, USA
    Posts
    9,638
    Rep Power
    4247
    It's a pointer to a pointer to int. Normally people use this sort of notation to pass a 2-d array. A more common version of this that you may see is:
    int main(int argc, char **argv)
    which is sometimes used instead of
    int main(int argc, char *argv[])
    Last edited by Scorpions4ever; February 25th, 2003 at 01:00 AM.
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Feb 2001
    Posts
    1,481
    Rep Power
    15
    Thanks.

IMN logo majestic logo threadwatch logo seochat tools logo