Question: CS 140U Linux 1. Create a directory named hw15 2. Create a Hello World program. Save it in your home directory as hw15.cpp. 3. Modify

CS 140U Linux

1. Create a directory named hw15

2. Create a Hello World program. Save it in your home directory as hw15.cpp.

3. Modify the code to say "Hello, " instead of "Hello World!"

4. Compile the program using g++. This should create a binary executable file called a.out. If you have any typos, the compiler will indicate the errors. In many instances, the error will not be in the line indicated, so, double check your code. To run the program, remember to type ./a.out

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!