[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[help-cgicc] Re: Commands to run a C++ program
From: |
U SAMANTA |
Subject: |
[help-cgicc] Re: Commands to run a C++ program |
Date: |
Mon, 11 Sep 2006 11:01:10 -0500 |
Thanks,
I also went to some tutorial websites and that is what they also said.
----- Original Message -----
From: Matthew Nicholson <address@hidden>
Date: Monday, September 11, 2006 10:18 am
Subject: Re: Commands to run a C++ program
> Generally, you run the 'c++' command to compile a c++ program, and
> then
> just run the compiled executable. If you are using gcc, you can
> use the
> g++ command.
>
> g++ -o test test.cc # compile test
> ./test # execute test
>
> U SAMANTA wrote:
> > Hi,
> >
> > What are the commands to compile and then run a C++ program?
> Thanks
> >
> > Urmila
>
> --
> Matthew Nicholson
> matt-land.com
>