Right. What material are you using to learn C++?
This is a discussion on Quick question about pointers! within the C++ Programming forums, part of the General Programming Boards category; Right. What material are you using to learn C++?...
Right. What material are you using to learn C++?
C + C++ Compiler: MinGW port of GCC
Version Control System: Bazaar
Look up a C++ Reference and learn How To Ask Questions The Smart Way
C++ Programming from problem analysis to program design 5th edition by D.S. Malik
Eh, that book introduces std::vector in chapter 10, and pointers in chapter 14. Maybe you need to go through the material more carefully, without skipping chapters. To get this right, you need to be familiar with the idea that user defined classes such as std::vector<int> can behave like built-in types like int, e.g., they can be copied. Then you need to be familiar with defining classes, including implementing the copy constructor, copy assignment operator and destructor.Originally Posted by chickenlittle
C + C++ Compiler: MinGW port of GCC
Version Control System: Bazaar
Look up a C++ Reference and learn How To Ask Questions The Smart Way