Thread: Why?(cin)

  1. #16
    Registered User
    Join Date
    Jan 2005
    Posts
    7,359
    noskipws does not affect getline, it only affects operator>>.

  2. #17
    System Novice siavoshkc's Avatar
    Join Date
    Jan 2006
    Location
    Tehran
    Posts
    1,246
    Oh, you are righ I'd forgotten that.
    Learn C++ (C++ Books, C Books, FAQ, Forum Search)
    Code painter latest version on sourceforge DOWNLOAD NOW!
    Download FSB Data Integrity Tester.
    Siavosh K C

Popular pages Recent additions subscribe to a feed