Category : Files from Magazines
Archive   : CUJ0894.ZIP
Filename : WS.C

 
Output of file : WS.C contained in archive : CUJ0894.ZIP
-------------------------- Listing 3: The manipulator ws ---------

// ws -- ws(istream&)
#include

istream& ws(istream& is)
{ // eat white space
ios::fmtflags flagsav = is.flags();
is.unsetf(ios::skipws);
_TRY_IO_BEGIN
is.ipfx();
is.isfx();
_CATCH_IO_END
is.flags(flagsav);
return (is);
}


  3 Responses to “Category : Files from Magazines
Archive   : CUJ0894.ZIP
Filename : WS.C

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/