
-----------------------------------
Chapel
Tue Jul 06, 2004 9:50 pm

Nub here - can't make this compiler work properly -
-----------------------------------
I'm a nub trying to get this compiler to run a example program but when i try to run an example program it doesn't run when i click on compile&run

#include 

using namespace std;

int main (int argc, char *argv[])
{ 
    char quit;  

    quit = '\0';
    while (quit != 'q')
    {
        cout  "run" -> "cmd").  Navigate top the file.  Use the ffollowing commands.

g++ hello_world.cpp -o hw.exe
hw

-----------------------------------
JR
Wed Sep 22, 2004 6:21 pm

Re: Nub here - can't make this compiler work properly -
-----------------------------------
umm i think that it should be #include . u forgot the h in yours.

But u might be using a different compiler so u dont need the h but just in case try it.

-----------------------------------
Mazer
Wed Sep 22, 2004 6:24 pm


-----------------------------------
JR, iostream and iostream.h aren't (exactly) the same. The way he's using it is fine, on any compiler I believe, assuming he has it in his include folder (which he most likely does).

-----------------------------------
wtd
Wed Sep 22, 2004 6:46 pm


-----------------------------------
#include 

Is the proper way of doing things.

#include 

Is obsolete.

-----------------------------------
Andy
Wed Sep 22, 2004 10:38 pm


-----------------------------------
arggg.. why do ppl bring back old question topics months after they were asked?
