Very helpful, thanks. Would you happen to have any idea why eclipse won't run programs for me though? I can build and run the exe successfully, but when I press run, the console has no output; it just says run terminated.
A couple of completely random guesses...are you actually printing anything to the output in your program? If so, try flushing the output with the fflush C function. Sometimes in windows I have that problem with the eclipse console. To flush stdout just say fflush(stdout); after the output call (printf or whatever you're using).
If you mean Ubuntu 11.04, you need the GNU C compiler gcc, or C++ compiler g++. Not the MinGW compiler. Get it from synaptic and use the correct CDT repository for the version of eclipse you're using.
@linuxrocksrulers Thanks, and you're right. I'll make a better video once I get some time. I'm not sure a video is really necessary in the first place, it was just for fun really :)
My friends, I need help. I installed everything but a simple helloworld.cpp does not work.
tried system("pause");
fflush(stdpout);
The compiler works, but don´t run.
I using eclipse hélios, mingwin, Msys, on Windows 7
sjapodi 5 months ago
Very helpful, thanks. Would you happen to have any idea why eclipse won't run programs for me though? I can build and run the exe successfully, but when I press run, the console has no output; it just says run terminated.
AminKAMSC 6 months ago
@AminKAMSC
A couple of completely random guesses...are you actually printing anything to the output in your program? If so, try flushing the output with the fflush C function. Sometimes in windows I have that problem with the eclipse console. To flush stdout just say fflush(stdout); after the output call (printf or whatever you're using).
zeeknar 6 months ago
@TheNerdHead
cmd to open the command line
zeeknar 7 months ago
it din't worked in 11.04
prutvhi 7 months ago
@prutvhi
If you mean Ubuntu 11.04, you need the GNU C compiler gcc, or C++ compiler g++. Not the MinGW compiler. Get it from synaptic and use the correct CDT repository for the version of eclipse you're using.
zeeknar 7 months ago
thanks for posting this video
pintados05 10 months ago
Excellent, precise and concise
asbat88 10 months ago
Thats quite good :)
Just make it be fullscreen, or some bigger screen area...
linuxrocksrulers 1 year ago
@linuxrocksrulers Thanks, and you're right. I'll make a better video once I get some time. I'm not sure a video is really necessary in the first place, it was just for fun really :)
zeeknar 1 year ago