Outline the steps in creating a C++ source file.

      

Outline the steps in creating a C++ source file.

  

Answers


Kavungya
Step 1: Click Start button
Step 2: Click All Programs
Step 3: Click Microsoft Visual C++ 6.0
Step 4: From the File menu, click New
Step 5: From the New Dialog box click Files option, then:
i) Click C++ Source File
ii) Write the File name (NB: The filename should end with .cpp extension)
iii) Indicate the directory in which the file will be saved, then click OK.
Step 6: Write the source program on the blank window that opens, and click the
Save icon on completion.
Step 7: From the Build menu click the Compile option
Step 8: In case of any compilation errors:
i) Double click each error type, at a time, shown in the lower window (i.e. located close to the task bar), in order for an indicator to point at the respective code line in which an error exists.
ii) Correct the error, then click the Save icon to save the changes
Step 9: From the Build menu click the Execute option in order to run the program.
Kavungya answered the question on May 15, 2019 at 14:54


Next: Explain the features of a C++ program.
Previous: Describe the structure of a C++ program.

View More Computer Programming Questions and Answers | Return to Questions Index


Exams With Marking Schemes

Related Questions