+ 2

Why Eclipse Doesn't run this code ?

Why Eclipse Doesn't run this code ? Every time I try to run any C++ code on Eclipse C/C++ compiler it doesn't recognize these lines: #include <iostream> using namespace std; the #include comes up with "unresolved inclusion" the second one comes up with "symbol std couldn't be resolved" Does anyone knows what this is about ?

11th Jun 2017, 7:13 AM
Ahmed Zaghlol
Ahmed Zaghlol - avatar
1 Answer
+ 1
Go to Project / properties / c/c++ general / preprocessor includes / providers and select "CDT GCC Built -in Compiler Settings".
11th Jun 2017, 9:52 PM
Velizar Ivanov
Velizar Ivanov - avatar