Computer Graphics CS(602) |
2013 |
Tutorial:Dev CPP
“Add Graphics properties in Dev Cpp projects”
Open dev Cpp
Click close on tips window.
Create new project.
Go to>File>New>Project
Select Empty project
Click ok.
Save project within DevCpp folder.
Add new file to project.
Write code in file.
To add graphic.h header file, Download “graphics library” zip file from download section of Cs 602. Extract the zipped folder, you will find two files place “graphics.h” in the include folder of Dev CPP and “libbgi.a” file in lib folder of Dev CPP. Now you will be able to include graphics.h header file without any error.
After writing code, Save the file with the name Assignment No 3.
Add graphics parameters.
Go to>Projects>Project Options>Parameters Tab
Add the following parameters to the linker to link in graphics libraries
-lbgi
-lgdi32
-lcomdlg32
-luuid
-loleaut32
-lole32
Paste them in parameters Tab.
Click ok.
Now run the project it will be compiled without any error.
----------The End--------
1504 WIS JI‑CRIMINAL 1504 1504 COMPUTER CRIME — §
16 MEMORY COMPUTER SCIENCE 240 LABORATORY 7 IN LAB
216 MALVERN HOT SPRING COUNTY LIBRARY COMPUTERINTERNET USE
Tags: graphics cs(602), in graphics, graphics, cs(602), tutorialdev, properties, computer