compiling c++ in terminal
kindly assist
mb 062 13/2, Mac OS X (10.4.10), color-white
mb 062 13/2, Mac OS X (10.4.10), color-white
g++ -o output file.cpp
Then run the programm with./output
g++ -o output file.cpp
Then run the programm with./output
cd Desktop
to the desktop. Then use:
./program
Or drag the program to the terminal window.
compiling c++ in terminal