Don't know if I'm losing my mind...

This is a discussion on Don't know if I'm losing my mind... within the C++ Programming forums, part of the General Programming Boards category; Thanks Mr. Wizard. These are definitely bugs of some kind. Weirdness....

  1. #16
    Registered User Invincible's Avatar
    Join Date
    Feb 2002
    Posts
    210
    Thanks Mr. Wizard. These are definitely bugs of some kind. Weirdness.
    "The mind, like a parachute, only functions when open."

  2. #17
    i dont know Vicious's Avatar
    Join Date
    May 2002
    Posts
    1,200
    Inv... Do you check your pm's???

    I... think.. you.. have.. one!
    What is C++?

  3. #18
    geek SilentStrike's Avatar
    Join Date
    Aug 2001
    Location
    NJ
    Posts
    1,141
    It's not a bug.. the output doesn't appear until it's flushed out. endl flushes the output. Whether or not the output will appear before the while loop is undefined by the standard without the endl (or a flush()).
    Prove you can code in C++ or C# at TopCoder, referrer rrenaud
    Read my livejournal

  4. #19
    Registered User Invincible's Avatar
    Join Date
    Feb 2002
    Posts
    210
    And this doesn't happen when you use a namespace because...

    Edit: Ok not bugs, but a difference between definitions of some kind in iostream.h and std::iostream?
    Last edited by Invincible; 05-26-2002 at 11:47 PM.
    "The mind, like a parachute, only functions when open."

  5. #20
    i dont know Vicious's Avatar
    Join Date
    May 2002
    Posts
    1,200
    I never have undestood "namespaces".

    ive tried

    using namespace std;

    in borland but it make an error...
    What is C++?

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

Similar Threads

  1. Array of struct pointers - Losing my mind
    By drucillica in forum C Programming
    Replies: 5
    Last Post: 11-12-2005, 10:50 PM
  2. Whats on your mind?
    By Fountain in forum A Brief History of Cprogramming.com
    Replies: 59
    Last Post: 09-27-2003, 02:10 AM
  3. Windows Mind Control
    By Fountain in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 11-05-2002, 12:59 PM
  4. friday night coding with mind numbing music
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 07-13-2002, 05:17 PM
  5. Lost source... losing mind...
    By doubleanti in forum A Brief History of Cprogramming.com
    Replies: 6
    Last Post: 10-27-2001, 12:31 AM

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