I have downloaded Code:Blocks with MinGW, trying to get some C++ going. After installing, opening, and creating a console application, I have been unable to run the "Hello World" main.cpp that it instantiates. I have numerous problems.
There are red lines under "Hello" and "World" as if the compiler does not recognize them.
The first thing I did was install Code:Blocks without MinGW and it popped up showing my compilers, the only one was VS C++ 2010. Now uninstalling it and re-installing it does not allow that dialog to pop-up again.
When I first start Code:Blocks it used to say it couldn't find mspdb100.dll.
When I try to run the program it tells me it needs to build. I build it, it tells me it needs to build again... Then some console windows pop up and disappear, too quickly to read. The Build Log outputs "Process terminated with status 1104 (0 minutes, 0 seconds). 0 errors, 0 warnings.
Code by request:
#include <iostream>
using namespace std;
int main()
{
cout << "Hello world!" << endl;
return 0;
}
The internet hasn't helped me much. Can stackoverflow?
Thanks.