Go Back   Computer Forums > General Computing > Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 04-07-2005, 03:33 PM   #1
BSOD
 
Syn7ax 3rror's Avatar
 
Join Date: Apr 2005
Posts: 461
Send a message via AIM to Syn7ax 3rror Send a message via MSN to Syn7ax 3rror
Default Borland was diffrent

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.
__________________

Syn7ax 3rror is offline   Reply With Quote
Old 04-08-2005, 01:47 PM   #2
Fully Optimized
 
UK31337's Avatar
 
Join Date: Feb 2005
Posts: 2,776
Default

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?
__________________

__________________
Master of common sense. If you don't like it, stop reading.
UK31337 is offline   Reply With Quote
Old 04-08-2005, 02:54 PM   #3
BSOD
 
Syn7ax 3rror's Avatar
 
Join Date: Apr 2005
Posts: 461
Send a message via AIM to Syn7ax 3rror Send a message via MSN to Syn7ax 3rror
Default

Ohh, it worked. On the Borland compiler it as end1.
Syn7ax 3rror is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 04:43 AM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0