[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: Matthew Nicholson
Subject: [help-cgicc] Re: Commands to run a C++ program
Date: Mon, 11 Sep 2006 10:18:19 -0500
User-agent: Thunderbird (X11/20060812)

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     # compile test
./test                  # execute test

U SAMANTA wrote:

What are the commands to compile and then run a C++ program? Thanks Urmila

Matthew Nicholson

reply via email to

[Prev in Thread] Current Thread [Next in Thread]