Question: Your instructor may assign either Appendix A or Appendix B depending on your environment. Appendix A is for labs using Visual Studio and Appendix B

Your instructor may assign either Appendix A or Appendix B depending on your environment. Appendix A is for labs using Visual Studio and Appendix B is for labs using Linux or UNIX. If you are using an environment other than these, your instructor will give you instructions for this first lesson and ask you to complete Lab 1.1 below.
LAB 1.1 Opening, Compiling and Running Your First Program
Exercise 1: Logon to your system based on your professors instructions. Exercise 2: Bring in the firstprog.cpp program from the Lab 1 folder. Exercise 3: Compile the program.
Exercise 4: Run the program and write what is printed on the screen. The code of firstprog.cpp is as follows:
// This is the first program that just writes out a simple message
// Place your name here
#include // needed to perform C++ I/O using namespace std;
int main ()
{
cout << "Now is the time for all good men" << endl; cout <<"To come to the aid of their party" << endl;
return 0;

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!