Thread: C programming

  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,130
    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