On to Microsoft Visual C++

Important Notes:

When you work on NOVA always save files to the G: drive. This drive acts as your personal directory. If you don't know how to select a drive under NT ask me (or Brian, or Dr. Ingargiola, or the Lab Consultant or a classmate...). If you save files elsewhere you will lose work!

Regardless of where you're working: If you have a good chunk of your program done and decide to do a major overhaul make a copy and work on that. That way you can always go back to an older version if you get on the wrong track.

In Visual C++ all of the files necessary for a program are grouped into a Project. Each of your homeworks will be a separate Project.q


1. To create a new Project:

A. Go to the File menu.
B. Select New
C. Click on the Projects Flag and select Win32 Console Application
D. Enter the name for your Project in the space on the right side of the box.
E. Click on OK
F. On the file menu select New
G. Click the Files flag and select C++ Source File
H. Enter the name of the file on the right side of the box. (Make sure that the Add to Project box is checked.)


2. To Compile your program:

A. On the Build menu select Compile
Any errors you have will be listed in the box on the bottom of the screen. Double clicking on the error will move the cursor to the location of the error in the file.
B. On the Build menu select Build This will link the .obj files into an executable file.
C. On the Build menu select Execute to run program This will open a MS-Dos window in which the program will run.


3. To send the source code to the T.A.

You will be using Netscape's Mail functionality to send files from NOVA. Here is the setup information from Dr. Ingargiola's web page:

Using EMail from Room CC104

At present you can only send out email from Room CC104, not receive email. To send out email you have first to set up your account:

Start NETSCAPE
Select EDIT
Select PREFERENCES
Click on "+" sign of MAIL & GROUPS
Select IDENTITY, then enter your name, say, Joe Doe, and your email address on some other system, say, jdoe@thunder.temple.edu
Select Mail Server
Enter SNOWHITE in the "Outgoing mail (SMTP) server" field
Click on OK

Now you can send mail from Netscape:

Select COMMUNICATOR
Select MESSENGER MAILBOX
Select NEW MSG

As an alternative, you can use Netscape to ftp your files to snowhite and send them as usual using pine.

A. Open Netscape. Select default user profile. If netscape prompts you that default does not exist, when you create the default the directory must be G:\Netscape.
B. On the Location line type: ftp://username@snowhite.temple.edu where user name is your user name on the snowhite account
C. When prompted enter your account password.
D. Go to File menu and select Upload File (Make sure you select All Files *.* file type on the bottom of the box.)
E. Browse to directory on G: where you saved your program
F. You need to upload 3 files to the T.A. (You can only select one at a time) Upload program.cpp, project.dsw, and project.dsp
G. Using Pine you can attach the 3 files and submit in the normal fashion.


Thanks to Brian Tangarone for writing most of this document.

Updated: October 5, 1998

khanna@nimbus