I created a simple cpp file with no errors (hello world project) but it won't launch.

#include <iostream>
using namespace std;

int main() {
    cout << "!!!Hello World!!!" << endl; // prints !!!Hello World!!!
    return 0;

here is the video of it: Click Here

3 Years
Discussion Span
Last Post by syncster31

I don't have much experience with Eclipse, but I've seen somne IDE's that don't pause the console after main is finished. On a small app like this, it will look like it didn't run at all. Basically though it has run and finished just too fast for you to see it. If this is the case, you'll either have to look at pausing the app before main finishes or use a different IDE, such as Code::Blocks, which does pause the console automatically.


That probably has something to do with the folder you're storing the the source code in. Try making a folder, probably in the root drive, and making that the default for the source code.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.