Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C++ Help

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.

Name: Anonymous 2008-03-01 18:52

>>1
Don't use Code::Blocks. Install Cygwin, and check off gcc during installation. Add -mno_cygwin when compiling if you don't want the dependency on cygwin.dll, but you'll lose POSIX functionality.

OSHIT, REAL HELP ON /prog/???

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List