Re: [Dev-C++] Examples using '\n' or endl
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Shayne K. <err...@ne...> - 2003-06-11 18:23:44
|
http://users.cyberelectric.net.au/~collins/BackIssues/1999-11.htm -- shayne http://www.shaynekasai.com On Wed, 11 Jun 2003, Andr=E9 Mac=E1rio Barros wrote: > Dear Users, > > Can anybody give some examples of when I MUST use "endl" insted of '\n= '? > When one is needed and when another? > Is endl used to clean the OUTPUT buffer? > > Note: The cin.ignore(200, =B4\n') worked fine. Thanks. > Regards > Andre > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The best > thread debugger on the planet. Designed with thread debugging features > you've never dreamed of, try TotalView 6 free at www.etnus.com. > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |