Hi, I just begun my journey to C++ programming not long ago. I started with dummies books with the thought that dummies usually is suitable for beginners. But I'm wrong, it is kinda advance for user like me. Therefore I ended up searching for resources as reference from forums and end up here, which I thought that its very good for user like me.
Then I come to pointers, I've read a few books also the tutorials provided from this forum and notice a similarity. Most source will state the importance of POINTERS, where pointer is the power of C++.
Yeah i kinda tested the pointers, but still I don't seem to understand the usage of pointers.
Can anybody give this beginner a kick-off to proceed in the journey of C++ programming? I don't seem to get a hold of the idea of the power of pointers.
You probably won't see the importance of pointers until you get into such things as dynamic memory allocation and large data structures or classes that need to be passed to a function. There are other uses as well, such as a function that needs to change the value of the original variable passed to it, and not its own copy. Don't worry if you don't understand the usefulness of pointers yet, just keep reading your book and playing around with the code and eventually it will all fall into place.