inorder to move to another line end1 was suggested as an alternative to \n,which however does nt work 4 me,cd i b doing anything wrong
Last edited on
Shooting in the dark here but are you using it right? The correct way is:
cout << "blah blah blah" << endl;
1 2 3 4 5
|
cout << "blah blah blah" << endl
or
std::cout << "blah blah blah" << std::endl;
or
cout << "blah blah blah" << "\n";
|
Last edited on
use endl, and not end1
meaning, your 1 needs to be an l, the lowercase of L
=D