Re: [Dev-C++] C++ compiling problems
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: <or...@vp...> - 2003-01-08 14:59:36
|
Hello Matthews!
> I've been trying to teach myself c++ recently, so I started out with this
> basic program.
>
> #include <iostream>
> #include <cstdlib>
>
> int main()
> {
> using namespace std;
> cout << "Hello.\n";
> cout << "Press ENTER to continue.";
> getchar();
> return 0;
> }
The above program compiles perfectly from Dev-C++ (4.9.6.8), and even from a
command prompt. I have MinGW (gcc 3.2) separately installed. The command is:
g++.exe code.cpp -o code.exe
I think there may some installation/corruption problem with your gcc. If you
could post the errors, I would be able to help you more.
--
Greetings,
Balázs
U.I.: Üdv Czinege Tamás :)
|