Before starting programming with C Graphics we need to aware some of terms in C Graphics. We can use Graphics in C program by help of graphics.h. We must need to include graphics.h c program to use graphics functions. |
C Graphics with Turbo C in Window XP |
---|
While we using Turbo C for compiler and run C graphics program we need to change some settings in Turbo C compiler as follow.
Open Turbo C -> select OPTION -> select LINKER -> select LIBRARIES ->mark on GRAPHICS LIBRARY option.
|
C Graphics with Turbo C in Window 7 |
While we using window 7 as operating system than we could face some problem to run C Graphics program.Because Window 7 does not support full screen execution and the graphics program need full screen to run. For that we need to install one more software which is Emulated Turbo C. After the installing Turbo C You need to install Emulated Turbo C and when ever you want to run C graphics program just open the Emulated Turbo C and run your Graphic program. |
Related Post
Draw different shapes using drawpoly function in c graphics. C graphics program to draw different shapes using drawpoly function. To draw different shapes by u
getx function of c graphics getx function is used to get the current position of x coordinate on screen. We can set the curren
lineto function in graphics lineto function is used to draw line from current position to the point(x,y). lineto function take
rectangle function of c graphics C program to draw rectangle in c graphics. Syntax of rectangle function is rectangle(left, top,
getcolor function in c graphics getcolor function of c graphics is used to get the current foreground color in graphics mode. To g
setbkcolor function in graphics C graphics program to set background color. General syntax to
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment
Click to see the code!
To insert emoticon you must added at least one space before the code.