How to Get Started with C++ Programming?
Answers
Answered by
1
Use a text editor to type the above program.
Save the text file as first.c++
At the shell prompt, issue the following command: c++ –o first first.c++ (you could use the command g++ as well — the commands c++ and g++ are equivalent)
To run the program, issue the command: ./first.
Similar questions