CIS 170 (Devry) help Making Decisions/uophelp.com CIS 170 (Devry) help Making Decisions/uophelp.com | Page 2
Lab Steps
Preparation:
If you are using the Citrix remote lab, follow the login instructions
located in the iLab tab in Course Home.
Lab:
Part A: Getting Started
Step 1: Start the Application
From the File menu, choose "New Project." Choose “Win32 Console
Application.” Enter a name in the name field. Click “Next” and choose
the following options: Application Type: "Console Application"
Additional options: Check mark “Empty project” and uncheck 8. Click
Finish. Your project is now created.
Step 2: How to Add a Source Code File to Your Project (.cpp file)
In the Solution Explorer, right-click on the “Source Files” folder and
select "Add" and then "New Item." In the next dialog box, choose C++
file (.cpp), enter a name for your source code file, and press the Add
button. Type or copy and paste your code into the newly created source
code file. Build the file by pressing F7, and then execute your program
by pressing CTRL-F5 (start without debugging) or use the F5 key (Start
Debugging).
Step 3: Create a Source Code File
Now enter the following C++ program exactly as you see it. Use the tab
where appropriate. [Note: C++ is case sensitive.] Instead of John Doe,
type your name.
#include
using namespace std;
void main()
{
cout< "john="" doe"="">
cout< "cis170c="" -="" programming="" using="" c++\n";="">
cout< "\n\n\nhello,="" world!\n\n";="">
}
When you execute a program in debug mode (F5), the console screen
may appear and disappear