Question: Opening, Compiling and Running Your First Program Exercise 1 : Start Visual Studio and open the firstprog.cpp program that you added following the Guide to

Opening, Compiling and Running Your First Program
Exercise 1: Start Visual Studio and open the firstprog.cpp program that
you added following the Guide to the Visual C++ Environment.
Exercise 2: Compile the program.
Exercise 3: Run the program.
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 Programming Questions!