Using the Computers In The Math/CS PC Laboratory
The computers in Math/CS PC laboratory will allow you to access the Microsoft Visual C++ Integrated Development Environment (IDE). The computers are attached to the ESU network and allow access to software for computer science courses as well as Internet access. The lab machines use the Windows NT operating system.
Using Microsoft Visual C++
Step 1. Double click on the
icon. This will start the development environment.
Step 2. To create a project for an application, first select New... from the File menu to display the New dialog.

Click the Projects tab and highlight Win32 Console Application. Select the directory in which the program should be stored by clicking the button to the right of the Location field. (The temp directory is a really good place to temporarily store your projects. You also may wish to use storage.cs.emporia.edu to store your projects.). Name the project myProject. Notice that the name of the project is added to the directory path in the Location field. Each project is normally stored in its own directory. Click the OK button to create the project. Note that the OK button is disabled unless a name is specified in the Project Name field.
Next the Win32 Colsole Application dialog box appears. Make sure "an empty project" radio button is selected and click on Finish and then OK.

Step 3. Next, create a new C++ Source File to display a source window in which to type your program. Select New... from the File menu to display the New dialog. Click the Files tab and highlight C++ Source File.

Enter the name of the file in the File name box. Save the file by clicking OK.
Step 4. You can now enter your program into the program window. When you've entered your program be sure to select Save All... from the File menu to save your work.

Step 5. Now you are ready to compile and execute your program. Select Execute from the Build menu. Your program will now execute if it does not contain compilation errors. You should see the console window:

If this window does not appear, check the messgae box at the bottom of the screen for error messages.
Files Createed in the Compilation Process
The compilation process in Visual C++ generates a number of files. Thses files are created in the project folder and a debug subdirectory within the project folder.
|
|
|
The other files created are: