Knowing how references really differ from pointers should help you decide when to use references and when to stick with pointers. In C++, references provide many of the same capabilities as pointers.
The previous two posts (part 1 and part 2) have been exploring the fundamentals of using pointers from the basics of declaring a pointer to the more complex notation of manipulating pointers. An ...
I read the chapter on pointers, but I still don't know in what situations they would be used or where the new operator is useful. One stipulation of the project I've been given is that I must use the ...