CMSC 740: VC++ Startup Help

Starting your assignment with Visual C++

Create a workspace:
1. In your account, make a directory (new folder) in H disk ( also your unix home): H:\CMSC740
2. Start up Visual C++ from: 
   Start->Program->Developments->Microsoft Visual Studio 6.0-> Miscrosoft Visual InterDev 6.0
3. From menu, choose 'File->new'. Choose Type: "Console Application"
   Input Location: H:\CMSC740\
   Input Project Name: Proj1
   Press  to generate a new project. ( see figure 1)
4.Copy the sample program files from "http://www.cs.umd.edu/class/spring2001/cmsc740/sample/ " into your working directory: H:\cmsc740\proj1
  Choose 'proj1 files', click on the right button of the mouse, add all .C, .CPP or .H files you need, into your project. ( see figure 2)
  Or you may also choose from:          Project->'Add To Project'->File... 

Compilation instructions:
1. Follow the compilation guidelines in your Assignment 1 handout to set Project and Tools settings before compiling your program.
2. Choose main menu item Build/Build proj1.exe to compile your program. 
3. Choose main menu item Build/Execute proj1.exe to execute your program. 
   If your program need any input, you need to specify the input in : Project->setting...->debug ( see figure 3)

Web Accessibility