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..........
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.
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
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.
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
thank u....