Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

[Eclipse] Symbol 'std' could not be resolved

$
0
0
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:

#include <iostream>

using namespace std;



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.

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>