Project |
Associated solution files p1q1, p1q2 and p1q3
*********************************************************To run the code is Visual Studio
1.) File->New->Project...
2.) Select Under Visual C++
3.) Select General
4.) Choose "Empty Project"
5.) Type project name in "Name" box
6.) Choose project Location (maybe a folder EE467)
7.) Hit OK
8.) Right click "Source Files" folder in the Solution Explorer (If
this is not available, click View and select Solution Explorer)
9.) From Project, select Add Existing Item
10.) Select your .cpp file (download the file from class webpage -
note that example01.cpp needs modification to run)
11.) Hit Add
12.) Build->Build Solution (or F7)
13.) Debug->Start Debugging (or F5)
*********************************************************
Install NASM Assembler with the following steps (See Lecture Notes here)
Step 1: Download NASM at http://nasm.sourceforge.net
The required DJGPP zipped folder is here.
Step 2: Unzip the 'djgpp.zip' file.
Step 3: Move the DJGPP directory to Programs or Program
Files directory.
Step 4: Go to Control Panel -->
System --> Advanced --> Environmental Variables
Set the
DJGPP environment variable to \DJGPP\djgpp.env [Top
Window]