Borland was diffrent

Syn7ax 3rror

Banned
Messages
546
I'm still not used to to Dev C++.
Ok here's my problem. On borland, if you want to end a line such as:

std::cout "Length: " << length << std::end1;

That's how you do it on borland. It dosnt seem to work on Dev C++. PLease help me I'm net to this compiler.


Yes, I know i can just do a "\n";, but I don't want to in this case.
 
Hmmm, it works fine for me. It's "endl" and not "end1" btw.

Exactly what errors are you getting from Dev-C++ when you try to compile that?
 
Back
Top Bottom