[Dev-C++] Nead help with endl and...
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: yakir a. <ya...@za...> - 2005-07-15 17:10:09
|
Hi I wonder what's the diferents between \n; and <<endl; Don't they both do the same thing of creating a new line in the screen?,like if I write: Cout << "hi\n"; Or: Cout << "hi"<<endl; And another question : Can I write this line : Cout << "I like music!"<< what's happening hear<<"wow it's very hot today\n"; Is this line right? Thanks yakir |