0
I am facing a simple problem, I believe. Saved my file in .cpp
in Code::Blocks and then I try to compile it. However, when I compile, some errors appear (mingw compiler usage):
Compiler Settings:
Use Windows 8.1. Does anyone know how to solve? Simple code that shows errors:
#include <iostream>
using namespace std;
int main ()
{
cout << "Hello World!"; return 0;
}
If you put your code maybe you can help. Only the error complicates. I have idea, but to answer I need to know what it is really about.
– Maniero
The code was added in the post.
– Fiodor
No problems here: http://ideone.com/we0vY4 Did you write the file with some text encoding causing trouble?
– Maniero
Well, I don’t think so. I just programmed in C, so I don’t know how to set it up, see my compiler Settings in the post. I edited it with the image, if you can help me, I’m grateful.
– Fiodor