C+++ makes a mistake even when the first program starts, Hello, World!
-
Just decided to work with him. C+++I used to work with Python♪ Found Sirius on the platform. The course on this language, did everything they said. Got it. Code:Blocks The original website, everything was fine, wrote the program. Hello, World!and the computer made a mistake. Please tell me what my mistake is. Here's the program code:
#include <iostream>
using namespace std;
int main()
{
cout<<"Hello, World! << endl;";
return 0;
}
There's a mistake:
Project/Target: "CPp - Debug":
The compiler's setup (GNU GCC Compiler) is invalid, so Code::Blocks cannot find/run the compiler.
Probably the toolchain path within the compiler options is not setup correctly?!
Do you have a compiler installed?
Goto "Settings->Compiler...->Global compiler settings->GNU GCC Compiler->Toolchain executables" and fix the compiler's setup.Tried to run compiler executable 'C:\MinGW/bin/mingw32-gcc.exe', but failed!
Skipping...
Nothing to be done (all items are up-to-date).
-
You're either undetermined or you're wrongly chosen as a compilator. If this paragraph is chosen, the menu will open a dialogue window of the line, and it should properly indicate where your compiler is located (if fitted). If not specified, it must be fixed and then indicated in the Code: Blocks, where it is located.