0
pointers
i cant realy understand where can some1 use a pointer into their program can someone give me an example of where you can use a pointer?
1 Antwort
+ 3
In C++, there are two uses of pointers that come to mind. It won't be worthwhile to writw the code, because it is rather lengthy.
1. Pass a pointer into a function, so that the function modifies values outside of itself.
2. Creating a linked list (one that's not set to a particular length)