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..........
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 ...
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..........
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
thank u . . mr. laser light . . . can u tell me how to use it with a simple program??
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
thank u....