Quick question about pointers!

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++?...

  1. #16
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    22,308
    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

  2. #17
    Registered User
    Join Date
    Oct 2010
    Posts
    45
    C++ Programming from problem analysis to program design 5th edition by D.S. Malik

  3. #18
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    22,308
    Quote Originally Posted by chickenlittle
    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.
    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

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. hello all quick pointers question
    By dogger in forum C Programming
    Replies: 11
    Last Post: 05-22-2011, 10:03 AM
  2. Replies: 7
    Last Post: 05-19-2010, 03:12 AM
  3. Quick question on pointers
    By newbie30 in forum C Programming
    Replies: 3
    Last Post: 01-13-2010, 03:46 AM
  4. A quick question about pointers.
    By waynex in forum C Programming
    Replies: 6
    Last Post: 03-04-2008, 07:12 AM
  5. Quick Question Regarding Pointers
    By charash in forum C++ Programming
    Replies: 4
    Last Post: 05-04-2002, 12:04 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21