Thread: capacity and reserve

  1. #31
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    It is clearly a typo, so your correction is correct.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  2. #32
    Registered User
    Join Date
    May 2006
    Posts
    1,579
    Thanks laserlight,


    Question answered.

    Quote Originally Posted by laserlight View Post
    It is clearly a typo, so your correction is correct.

    regards,
    George

  3. #33
    Registered User
    Join Date
    Jan 2005
    Posts
    7,366
    Yes, sorry. It was a typo. Surprisingly I cannot go back and edit the post any more.

    George, does my explanation make sense? Do you see the difference between my explanation and yours?

  4. #34
    Registered User
    Join Date
    May 2006
    Posts
    1,579
    Sure, Daved!


    Your reply makes senses.

    Quote Originally Posted by Daved View Post
    Yes, sorry. It was a typo. Surprisingly I cannot go back and edit the post any more.

    George, does my explanation make sense? Do you see the difference between my explanation and yours?

    have a good weekend,
    George

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Vector vs. array V2.
    By matsp in forum C++ Programming
    Replies: 38
    Last Post: 11-26-2008, 01:05 AM
  2. Can you free memory allocated by a std::string?
    By BrianK in forum C++ Programming
    Replies: 17
    Last Post: 05-15-2008, 11:57 AM
  3. Error with a vector
    By Tropicalia in forum C++ Programming
    Replies: 20
    Last Post: 09-28-2006, 07:45 PM
  4. Help!A simple question...
    By Lorin_sz in forum C++ Programming
    Replies: 5
    Last Post: 03-15-2005, 05:07 PM
  5. Glad this board is back! Vector question
    By hpy_gilmore8 in forum C++ Programming
    Replies: 9
    Last Post: 02-23-2004, 12:13 PM