[Dev-C++] Examples using '\n' or endl
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: <and...@su...> - 2003-06-11 13:08:05
|
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, ´\n') worked fine. Thanks. Regards Andre |