Hello,
So I'm used to using Eclipse when I program in Java.
I am now learning C++, but encountered a problem already.
I downloaded Eclipse C++ and the Cygwin toolchain.
![Posted Image]()
I selected New > Create new sourcefile and named it Main.cpp
I entered some basic code in it like this:
which gives me this error:
![Posted Image]()
After building it I get this:
![Posted Image]()
I don't get this in other IDE's, so I'm guessing it's a setting in Eclipse I missed.
I would rather not switch to another IDE since I've used Eclipse since I started programming.
Thanks in advance,
Worldofwar.
So I'm used to using Eclipse when I program in Java.
I am now learning C++, but encountered a problem already.
I downloaded Eclipse C++ and the Cygwin toolchain.

I selected New > Create new sourcefile and named it Main.cpp
I entered some basic code in it like this:
#include <iostream> using namespace std;
which gives me this error:

After building it I get this:

I don't get this in other IDE's, so I'm guessing it's a setting in Eclipse I missed.
I would rather not switch to another IDE since I've used Eclipse since I started programming.
Thanks in advance,
Worldofwar.