|
Re: C++ help: Understanding pointers?
Usually "a pointer to a pointer" is used with 2d arrays. The first pointer points to an array of pointers, which each point to their own arrays.
The first time I encountered a pointer to a pointer, I was writing a function that set the address of a block of memory I allocated to the address that was passed in.
Can get pretty complicated, usually it's easier to draw a picture.
__________________
Be Healthy. Never Stop Learning. Say It Like It Is. Own It.

Like our values? Flexware Innovation is looking for Automation Engineers. Check us out!
|