November 19th, 2002, 08:51 PM
how to run c++ program from linux ?
how do i run c++ programs ?
i am using linux. i did install the package for c++.
do i go to the command line and type something to compile ?
perl / cgi newbie
November 19th, 2002, 10:52 PM
Try using g++ helloworld.C. This will produce an executable file called a.out, which you can then run by typing ./a.out. If you want the executable to be named, say testprog, you can type g++ -o testprog helloworld.C.Better still, you might want to read the man pages for gcc and g++ to learn about the other command line options. Hope this helps!
December 18th, 2002, 10:47 AM
and also Linux...
and also, I think, you should learn Linux more deeply. if you are programmer, Advanced Linux Programming is good one. do not pay attention to "Advanced", in reality, it is very simple book. you can search for this book in the internet and download in PDF format.