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


_______________________________________________
help-cgicc mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-cgicc

Reply via email to