Cant Compile

Discussion on Coding.
Post Reply
pelmeen
Regular
Posts: 50
Joined: Thu May 19, 2005 4:19 pm

Post by pelmeen »

i use the dev-C++

i made this thing...program or smthing :)

Image

but i wont compile it...in the log file or smthing...:D
it says this

Image

what to do? :(
Slipknight
Loyal fan
Posts: 423
Joined: Thu Apr 07, 2005 7:53 pm

Post by Slipknight »

pelmeen wrote: i use the dev-C++

i made this thing...program or smthing :)

Image

but i wont compile it...in the log file or smthing...:D
it says this

Image

what to do? :(
lol, you need iostream.h which containts all your #defines, voids, bools ETC ETC for your iostream.cpp file.
<img src='http://www.bleachportal.net/interactive ... irjjkt.jpg' border='0' alt='user posted image' /><br><img src='http://www.hazegfx.com/UserBanners/Slipknot%20Fan.jpg' border='0' alt='user posted image' /><br><img src='http://www.hazegfx.com/UserBanners/UT2004%20Player.jpg' border='0' alt='user posted image' /><br><img src='http://www.hazegfx.com/UserBanners/AC%20DC%20Fan.png' border='0' alt='user posted image' /><br>
pelmeen
Regular
Posts: 50
Joined: Thu May 19, 2005 4:19 pm

Post by pelmeen »

huh?

sry i just started the C++ dont understand :D
delinquent
&lt;3 bd long time
Posts: 869
Joined: Fri Nov 14, 2003 12:08 am
Location: binarys underpants
Contact:

Post by delinquent »

www.google.com Dude what the hell? Google has millions of sites with this same learning tutorial go read. If you are too lazy to fix one of the easiest things how are you going to learn cpp?
<img src='http://deli.lazyslacker.com/stupidnigga.jpg' border='0' alt='user posted image' /><br><a href='http://deli.lazyslacker.com' target='_blank'>http://deli.lazyslacker.com</a><br>Don't ban me, ban the idiot!
bone-you
Spamtastic
Posts: 1310
Joined: Wed Mar 16, 2005 3:12 am

Post by bone-you »

lol his problem is quite simple. Lose the NUMERIC line numbers.
<img src='http://www.helbreathx.net/sig/sig.jpeg' border='0' alt='user posted image' /><br><a href='http://mafia.cheats4us.org/index.php?x=231030' target='_blank'>#1 on Mafia :D</a><br><!--QuoteBegin-Slipknight+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Slipknight)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->100mb Internet, burstable too 10GB oc192<br>his speed can go up too 10gbs<br>...<br>Yes my car can have a top speed of 1000mph<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br>^^ I wonder where the retard went to.
delinquent
&lt;3 bd long time
Posts: 869
Joined: Fri Nov 14, 2003 12:08 am
Location: binarys underpants
Contact:

Post by delinquent »

Q actually looked hahahahahaha cool
<img src='http://deli.lazyslacker.com/stupidnigga.jpg' border='0' alt='user posted image' /><br><a href='http://deli.lazyslacker.com' target='_blank'>http://deli.lazyslacker.com</a><br>Don't ban me, ban the idiot!
Slipknight
Loyal fan
Posts: 423
Joined: Thu Apr 07, 2005 7:53 pm

Post by Slipknight »

bone-you wrote: lol his problem is quite simple. Lose the NUMERIC line numbers.
omg how did I not notice that rofl.
<img src='http://www.bleachportal.net/interactive ... irjjkt.jpg' border='0' alt='user posted image' /><br><img src='http://www.hazegfx.com/UserBanners/Slipknot%20Fan.jpg' border='0' alt='user posted image' /><br><img src='http://www.hazegfx.com/UserBanners/UT2004%20Player.jpg' border='0' alt='user posted image' /><br><img src='http://www.hazegfx.com/UserBanners/AC%20DC%20Fan.png' border='0' alt='user posted image' /><br>
bone-you
Spamtastic
Posts: 1310
Joined: Wed Mar 16, 2005 3:12 am

Post by bone-you »

delinquent wrote: Q actually looked hahahahahaha cool
hah. He's actually typing those line#s out it appears. They aren't a compiler function. xD But I suggest getting Visual Studio. 6.0 is what most get, but 7.0 if you're cool and want to do more with your time. 8.0 if you got the hots for coding :D :D
<img src='http://www.helbreathx.net/sig/sig.jpeg' border='0' alt='user posted image' /><br><a href='http://mafia.cheats4us.org/index.php?x=231030' target='_blank'>#1 on Mafia :D</a><br><!--QuoteBegin-Slipknight+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Slipknight)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->100mb Internet, burstable too 10GB oc192<br>his speed can go up too 10gbs<br>...<br>Yes my car can have a top speed of 1000mph<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br>^^ I wonder where the retard went to.
Slipknight
Loyal fan
Posts: 423
Joined: Thu Apr 07, 2005 7:53 pm

Post by Slipknight »

bone-you wrote:
delinquent wrote: Q actually looked hahahahahaha cool
hah. He's actually typing those line#s out it appears. They aren't a compiler function. xD But I suggest getting Visual Studio. 6.0 is what most get, but 7.0 if you're cool and want to do more with your time. 8.0 if you got the hots for coding :D :D
:o whats new in 7.0 and 8.0? me only gots 6.0
<img src='http://www.bleachportal.net/interactive ... irjjkt.jpg' border='0' alt='user posted image' /><br><img src='http://www.hazegfx.com/UserBanners/Slipknot%20Fan.jpg' border='0' alt='user posted image' /><br><img src='http://www.hazegfx.com/UserBanners/UT2004%20Player.jpg' border='0' alt='user posted image' /><br><img src='http://www.hazegfx.com/UserBanners/AC%20DC%20Fan.png' border='0' alt='user posted image' /><br>
bone-you
Spamtastic
Posts: 1310
Joined: Wed Mar 16, 2005 3:12 am

Post by bone-you »

Slipknight wrote:
bone-you wrote:
delinquent wrote: Q actually looked hahahahahaha cool
hah. He's actually typing those line#s out it appears. They aren't a compiler function. xD But I suggest getting Visual Studio. 6.0 is what most get, but 7.0 if you're cool and want to do more with your time. 8.0 if you got the hots for coding :D :D
:o whats new in 7.0 and 8.0? me only gots 6.0
Many things that deserve usage xD here's a screen.
Image
<img src='http://www.helbreathx.net/sig/sig.jpeg' border='0' alt='user posted image' /><br><a href='http://mafia.cheats4us.org/index.php?x=231030' target='_blank'>#1 on Mafia :D</a><br><!--QuoteBegin-Slipknight+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Slipknight)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->100mb Internet, burstable too 10GB oc192<br>his speed can go up too 10gbs<br>...<br>Yes my car can have a top speed of 1000mph<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br>^^ I wonder where the retard went to.
kazoo
Regular
Posts: 92
Joined: Thu Oct 28, 2004 11:19 pm

Post by kazoo »

lose the semi-colin ( ; ) after main() as well :D
<img src='http://www.hbuonline.net/media/hbutop50.jpg' border='0' alt='user posted image' /><br><br>www.hbuonline.net<br><br>Currently customizing files, no longer in beta stage! HBUnited aims to build a 100% stable fun environment for free. Bugs are fixed the version after they are found and we are constantly adding hb features along with our own features with every update. Come check it out and help us test our files and grow as a server.<br><br><img src="http://hbtop50.com/button.php?u=hbuonline" alt="Helbreath Top 50 - Keepin' it real." border="0" /><br>
Jaap
Loyal fan
Posts: 390
Joined: Thu Apr 22, 2004 8:21 am

Post by Jaap »

and dont forget to use the namespace std, else you need to call standard output by std::cout
No-1
Loyal fan
Posts: 291
Joined: Sun Sep 12, 2004 5:57 am
Location: tdy

Post by No-1 »

i also tried the same thing this came with the learn c++ in 21 days and could not figure wats wrong with it

so this it how it really works

Code: Select all

#include <iostream>

using namespace std;

int main()
{
    cout<<"Hello World!\n";
    cin.get();
}
Support Outpost@HBTop50<br><a href='http://hbtop50.berserkvision.com/in.php?id=582' target='_blank'>Outpost@HBTop50</a><br>
Post Reply