Question about compiling
Author |
Message |
someguy123
|
Posted: 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

|
|
 |
Clayton

|
Posted: 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
|
Posted: Tue Mar 06, 2007 9:50 pm Post subject: RE:Question about compiling |
|
|
lol. That's the first thing every c++ programmer asks. |
|
|
|
|
 |
someguy123
|
Posted: Wed Mar 07, 2007 3:52 pm Post subject: Re: Question about compiling |
|
|
thx a lot freakman |
|
|
|
|
 |
|
|