Facebook Twitter Gplus E-mail RSS
 
 
Home » C/C++ » Running Graphics Program using Turbo C 3.0 in VISTA
formats

Running Graphics Program using Turbo C 3.0 in VISTA

Published on February 7th, 2010 by in C/C++

It is possible to run graphics program using Turbo C in vista. All you have to do is to run your OS in SAFE MODE & use <graphics.h> header file. And you must have ‘BGI’ directory present in your TC folder. (C:\\TC\BGI)

Go to BGI directory (folder) & copy BGIDEMO.C. Now go to TC\BIN and paste it. After That Open up your compiler which is in BIN folder (tc.exe).

If your compiler opens up in small window don’t panic. Press ALTER+ENTER to maximize it.

Now open BGIDEMO.C using your compiler. (File>Open or press F3). Now Run it. If the program give no response use these codes after the main function:

int gd=DETECT, gm;
initgraph(&gd,&gm,”c:\\TC\\bgi”);

Now save it and Run.

Happy coding.

DOWNLOAD TURBO C++ 3.0

 

3 Responses

  1. sonal

    I have done it still it not not working

  2. try again please, or if u tell me exactly what problem you are facing I could help

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

© mythrobin•com
credit