graphics using c

3
Graphics in C (Executing in window 7) Before we start, let us know “What is Graphics?”, “How it works?”, “What are the basic requirements for running a graphics program?”………. To start with, let us know What is Graphics???? “Graphics” is nothing but the things we are using in computer screen, the game we play in fact each and every thing we use is somewhat related or using g raphics. It start for drawing a simple live, arc or circle to designing a game or creating an interface for a computer Operating systems… Now let us see what the basic requirement for running a graphics program is I. A computer (….!!) II. Turbo C++ Compiler (Version 3){What I have used to run programs} III. DOSBox (If Operating system is Win Vista or above). Now, How to execute a graphics program in a compiler or a computer?? Steps: {For Win XP} I. Download and Install Turbo C++ (Version 3) II. Go to Options -> Linker -> Libraries -> Mark ‘X’ in Graphics Library and Standard Runtime Library -> Ok III. Now open a new C file and start writing your own C graphics programs.. Generated by Foxit PDF Creator © Foxit Software http://www.foxitsoftware. com For evaluation only.

Upload: sovan-misra

Post on 07-Apr-2018

228 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Graphics Using C

8/6/2019 Graphics Using C

http://slidepdf.com/reader/full/graphics-using-c 1/3

Graphics in C (Executing in window 7)

Before we start, let us know “What is Graphics?”, “How it works?”, “What are the basic requirements

for running a graphics program?”……….

To start with, let us know What is Graphics????

“Graphics” is nothing but the things we are using in computer screen, the game we play

in fact each and every thing we use is somewhat related or using graphics. It start for drawing a simple

live, arc or circle to designing a game or creating an interface for a computer Operating systems…

Now let us see what the basic requirement for running a graphics program is

I.  A computer (….!!)

II.  Turbo C++ Compiler (Version 3){What I have used to run programs}

III.  DOSBox (If Operating system is Win Vista or above).

Now, How to execute a graphics program in a compiler or a computer??

Steps: {For Win XP}

I.  Download and Install Turbo C++ (Version 3)

II.  Go to Options -> Linker -> Libraries -> Mark ‘X’ in Graphics Library and Standard

Runtime Library -> Ok

III.  Now open a new C file and start writing your own C graphics programs..

Generated by Foxit PDF Creator © Foxit Softwarehttp://www.foxitsoftware.com For evaluation only.

Page 2: Graphics Using C

8/6/2019 Graphics Using C

http://slidepdf.com/reader/full/graphics-using-c 2/3

Page 3: Graphics Using C

8/6/2019 Graphics Using C

http://slidepdf.com/reader/full/graphics-using-c 3/3

  Mount c c:\dosbox

C:

cd tc\bin

tc

If in case it won’t work, then click on file in TurboC++ window -> DOS shell -> It must me showing a

dos prompt.

Type “cd..” to move to the previous directory and the “cd bgi” to move to the BGI folder containing the

graphics drivers…!!

Generated by Foxit PDF Creator © Foxit Softwarehttp://www.foxitsoftware.com For evaluation only.