Windows 7 Forums


Windows 7: Help Needed in Running borland !! plz

24 Jan 2010   #1

windows 7
 
 
Help Needed in Running borland !! plz

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 Needed in Running borland !! plz problems?



Thread Tools



Similar help and support threads for: Help Needed in Running borland !! plz
Thread Forum
laptop problems (running slow) advice needed please Performance & Maintenance
Help needed running proxy program Software
borland 5.02 help Software
borland c++ help Software
help running graphics in borland Performance & Maintenance


All times are GMT -5. The time now is 09:15 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