|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
||||
|
||||
|
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!
|
|
#3
|
|||
|
|||
|
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.
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages > C Programming > how to run c++ program from linux ? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|