Name: Anonymous 2008-02-29 14:56
After getting pretty profiecent with HTML and PHP, i decided to start learning C++; i quickly ran into a disheartening problem...
#include <iostream>
using namespace std;
int main()
{
cout<<"Hello World!\n";
cin.get();
}
That is the (very simple) code i was trying to compile... i get the message;
Compiling: main.cpp
mingw32-g++.exe: installation problem, cannot exec `cc1plus': No such file or directory
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings
I thought "cin.get();" kept the window open so i could check it was working. I'm using Code::Blocks, if it matters.
#include <iostream>
using namespace std;
int main()
{
cout<<"Hello World!\n";
cin.get();
}
That is the (very simple) code i was trying to compile... i get the message;
Compiling: main.cpp
mingw32-g++.exe: installation problem, cannot exec `cc1plus': No such file or directory
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings
I thought "cin.get();" kept the window open so i could check it was working. I'm using Code::Blocks, if it matters.