I'm using eclipse C++ helios and mingw compiler...
I created a hello world project without modify the original code.. It compile successfully but when i click run, it show terminated test.exe

I'm new to use eclipse IDE, so hope to get some helps here.. thanks

Post the code you compiled. Most likely you need to add something to the end of main() to keep the program open so that you can read what it wrote on the screen. There are several ways to do that, but the most common is to add cin.get() , like this:

#include <iostream>
using std::cin;
using std::cout;

int main()
{
   cout << "Hello World\n";
   cin.get();  // Wait for keyboard input
}
#include <iostream>
using namespace std;

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

it can start on debugging... but after finish the main function, it will display: No source available for "__mingw_CRTStartup() at 0x4010db"...

It looks like you are using vc++ 2010. Make sure program test is set as the startup project (right click test and select "set as startup project" in the dropdown menu.,

im using eclipse helios C++. I tried reinstall minGW and use the latest version Indigo to try too but still the same problem.
If using eclipse where to set as start up project?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.