Answer the question
In order to leave comments, you need to log in
Eclipse highlights errors for no apparent reason. C++?
Hello. At first, I turned to one of the large forums, but things are very tight there, and you need to code. Bottom line: there is a code written in eclipse under ubuntu, the same hello world:
#include <iostream>
using namespace std;
int main() {
cout << "!!!Hello World!!!" << endl; // prints !!!Hello World!!!
return 0;
}
Description Resource Path Location Type
Program "g++" not found in PATH Preferences, C++/Build/Settings/Discovery, [CDT GCC Builtin Compiler Settings] options C/C++ Scanner Discovery Problem
Symbol 'cout' could not be resolved Stud.cpp /Stud/src line 13 Semantic Error
Symbol 'endl' could not be resolved Stud.cpp /Stud/src line 13 Semantic Error
Symbol 'std' could not be resolved Stud.cpp /Stud/src line 10 Semantic Error
Answer the question
In order to leave comments, you need to log in
The compiler explicitly indicates an error to you:
Program "g++" not found in PATH
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question