C programming

This is a discussion on C programming within the C Programming forums, part of the General Programming Boards category; There is anybody who can help me explain the triple pointer(***ptr etc)? what is its purpose? how to use it? ...

  1. #1
    Registered User
    Join Date
    Oct 2001
    Posts
    17

    Question C programming

    There is anybody who can help me explain the triple pointer(***ptr etc)? what is its purpose? how to use it?

    Thanks!!!

  2. #2
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,139
    A triple pointer is a pointer to a double pointer.

    A triple pointer could also be a pointer to an array of 3 dimensions.

    How you use this is up to you. You can pass double
    pointers by reference using this way, or you can
    pass arrays whose dimensions are unknown to you.

    That's up to you, you are the programmer.
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21