Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Question about compiling
Index -> Programming, C++ -> C++ Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
someguy123




PostPosted: Tue Mar 06, 2007 9:14 pm   Post subject: Question about compiling

so I just started C++ and i am currently using dev-c++, ya so i just copy paste the helloworld code onto it and i compile and run, the DOS window just flashes and nothing is outputed.. just wondering why is this and how i could fix this problem, thx in advance
Sponsor
Sponsor
Sponsor
sponsor
Clayton




PostPosted: Tue Mar 06, 2007 9:43 pm   Post subject: Re: Question about compiling

There's no problem, that's exactly what it's supposed to do, it executes the code, then closes the window when it's finished. Instead, I'd suggest not using Dev-C++, and instead using a simple text editor and a command-line compiler to compile and run your code. I suggest you take a look at Gandalf's excellent thread in the C++ tutorials section on the subject.
abcdefghijklmnopqrstuvwxy




PostPosted: Tue Mar 06, 2007 9:50 pm   Post subject: RE:Question about compiling

lol. That's the first thing every c++ programmer asks.
someguy123




PostPosted: Wed Mar 07, 2007 3:52 pm   Post subject: Re: Question about compiling

thx a lot freakman
Display posts from previous:   
   Index -> Programming, C++ -> C++ Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 4 Posts ]
Jump to:   


Style:  
Search: