Windows 7 Forums


Windows 7: help running graphics in borland

24 Jan 2010   #1

windows 7
 
 
help running graphics in borland

hey guys i got a promblem using borland c++ 5.02 in my laptop in the windows 7 operating system
i am just a begininner in the programming language ! i use borland 5.02 for coding .recently i got problem using borland .
whenever i use graphics.h header file and try to make a simple circle using some code (given below) i got error ie bgi graphic
not supported under windows .then from my sir advice i have to change the platform(target) to dos mode and make a tick on bgi.
which i did .then after running that code again i got a dos output but there is a messege "bgi Error: GRaphics not intialized(use 'initgraph')
which appears on screen (for 1 second) and goes away !from the following code it is seen that i have used initgraph but still it say . I am not able to run borland especially graphics part and dont want to use
turbo c ! Can you guys plz help out out to solve this problem !!



#include<stdio.h>
#include<conio.h>
#include<dos.h>
#include<graphics.h>
#include<iostream.h>
void main()
{
int gd,gm;
gd=DETECT;
initgraph(&gm,&gd,"..//bgi");
{
circle(170,170,48 );
closegraph();
getch();
}
}

My System SpecsSystem Spec

Reply

 help running graphics in borland problems?



Thread Tools



Similar help and support threads for: help running graphics in borland
Thread Forum
Strange Freezing when running anything graphics related BSOD Help and Support
Running Single Graphics Card from Second PCIe Graphic Cards
Graphics card help, running compaq sr1214nx Graphic Cards
2nd graphics card is running hot while the other is fairly cool? Graphic Cards
Help Needed in Running borland !! plz BSOD Help and Support


All times are GMT -5. The time now is 10:31 PM.


Seven Forums Android App Seven Forums IOS App Follow us on Facebook

Windows 7 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32