help!!!!!!

This is a discussion on help!!!!!! within the C++ Programming forums, part of the General Programming Boards category; what does cout.setf(ios::skipus) do?........... it was specified in a book.....it didn't work in turbo c++ ..... please help if anyone ...

  1. #1
    Registered User
    Join Date
    Apr 2010
    Posts
    16

    help!!!!!!

    what does cout.setf(ios::skipus) do?........... it was specified in a book.....it didn't work in turbo c++ ..... please help if anyone know the answer..........

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,774
    It might be a typographical error in the book, since I cannot find it in the C++ standard. A probable candidate is ios::skipws, which causes leading whitespace to be skipped, where applicable.
    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

  3. #3
    Registered User
    Join Date
    Apr 2010
    Posts
    16
    thank u . . mr. laser light . . . can u tell me how to use it with a simple program??

  4. #4
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,774
    I do not think you need to use it by default; that flag should already have been set.
    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

  5. #5
    Registered User
    Join Date
    Apr 2010
    Posts
    16
    thank u....

Popular pages Recent additions subscribe to a feed

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