end1

Mar 15, 2010 at 4:26pm
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
Mar 15, 2010 at 4:32pm
Last edited on Mar 15, 2010 at 4:38pm
Mar 15, 2010 at 4:45pm
Shooting in the dark here but are you using it right? The correct way is:

cout << "blah blah blah" << endl;
Mar 15, 2010 at 5:06pm
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 Mar 15, 2010 at 5:06pm
Mar 15, 2010 at 5:20pm
use endl, and not end1

meaning, your 1 needs to be an l, the lowercase of L

=D
Topic archived. No new replies allowed.