Help with first C++ Program [message #998137] |
Wed, 09 January 2013 07:32  |
Eclipse User |
|
|
|
Hello!
I installed Eclipse C/C++ IDE Juno and MinGW Compiler tools. I created a Hello World C Program and it worked. Then I created a C++ Program for Hello World. It builds without errors but when the program is run inside eclipse it doesn't output anything. Below is the C++ code. Help me with the issue.
#include <iostream>
using namespace std;
int main(void) {
cout << "Hello! C++" << endl;
return 0;
}
Edit: I tried to run the compiled file from Command Prompt but I get the error message libgcc_s_dw2-1.dll missing but I can see the file present in the MinGW/bin folder.
I also tried reinstalling eclipse c/C++ ide and MinGW but it is of no use. Can somebody solve the problem?
[Updated on: Wed, 09 January 2013 09:08] by Moderator
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03275 seconds