Running a C++ Application Using GNU C++ with Linux
For this test drive, we assume that you know how to copy the examples into your home directory. Also, for the figures in this section, we use a bold highlight to point out the user input required by each step. The prompt in the shell on our system uses the tilde (
~) character to represent the home directory, and each prompt ends with the dollar sign (
$) character. The prompt will vary among Linux systems.
1. Locating the completed application. From a Linux shell, change to the completed GuessNumber application directory (Fig. 1.14) by typing
then pressing Enter. The command
cd is used to change directories.
~$ cd examples/ch01/GuessNumber/GNU_Linux ...