Hello,
I am a beginner with C++ and am using DEV C++ 4.9.4.2. I created my very first project; Hello WOrld. However it is failing to work.
Here is the code I have.
#include<iostream>
int main()
{
std::cout<<"Hello World";
return 0;
}
DevC++ 4.9.4.2 is ooooooooold, it uses a outdated version of MinGW. Even the latest version of DevC++ is old, it hasn't been updated in over a year.
Did you give your source code file a name with a space? "Hello World.cpp" (without the quotes) for example? By the look of your compiler log you did. Remove the space ("HelloWorld.cpp" or "Hello_World.cpp") and try compiling again.
You might have to create a new project.
PLEASE learn to use code tags, it will help us to understand your code.
http://www.cplusplus.com/articles/jEywvCM9/