I wrote a simple prog. for drawing a circle .
Compiled it .. n THERE WAS NO ERROR.

But at the Execution time Error Occured :
BGI ERROR: Graphics not intialized use 'initgraph

I used initgraph olready .

1.Then i copied EVAVGA.BGI from BGI to BIN..
i tried again .. n a new ERROR on RUN TIME .
This system soes not support Full screen mode. Close to quit or smthing.
2. I gave the complete path in the initgraph .. ie:
int a=DETECT,b;
initgraph(&a,&b,"c:\TC\BIN");

still the result was same .
Plzz help me if ne one can .
I m using VISTA HOME PREMIUM.

Recommended Answers

All 6 Replies

You've reached the end of the road.

Your fossil compiler was obsolete 20 years ago (and at least half a dozen versions of your operating system ago).

C'mon, seriously now - you've got a machine with what - at least 1GB of memory in it.
All that crappy compiler can EVER see is 640K of it - man, why did you bother to spend all that money on a nice new Ferrari, when you just drag it around with some tired old donkey.

Get a proper compiler which is matched to your OS.
http://msdn.microsoft.com/en-gb/express/default.aspx
http://www.codeblocks.org/

commented: Can you help me get VisiCalc up and running? I can't use Excel. ;) +2
commented: It went through an ear and left through the other without effect. +8

I wrote a simple prog. for drawing a circle .
Compiled it .. n THERE WAS NO ERROR.

But at the Execution time Error Occured :
BGI ERROR: Graphics not intialized use 'initgraph

I used initgraph olready .

1.Then i copied EVAVGA.BGI from BGI to BIN..
i tried again .. n a new ERROR on RUN TIME .
This system soes not support Full screen mode. Close to quit or smthing.
2. I gave the complete path in the initgraph .. ie:
int a=DETECT,b;
initgraph(&a,&b,"c:\TC\BIN");

still the result was same .
Plzz help me if ne one can .
I m using VISTA HOME PREMIUM.

hi Himanshu if you are not getting your tc editor in full screen mode just uninstall ur graphics driver from vista. if this full screen problem u don't have . so use two slash when u r assinging the path in initgraph .
you shuould do like
int a=DETECT,b;
initgraph(&a,&b,"c:\\tc\\bgi"); //use bgi not bin.
i hop u will get the solution of ur problem.
Saransh.

I know my frnd that the compiler i m using is not suitable for my system .
I just wanted to enquire some other options for the same compiler ( if there are any).
for eg:
If u want to run Turbo C IDE in full screen ..
restart n use SAFE MODE WITH COMMAND PROMPT .. n it works ..
.
thats y i was enquiring abt it .
M a btech student .. n in MY college ... i hv to use this Compiler only .

@saransh:
i tried everything.
ya but i hv nt yet tried for the graphics drivers u memntioned .
Can u plzz xplain it a bit more.

I wrote a simple prog. for drawing a circle .
Compiled it .. n THERE WAS NO ERROR.

But at the Execution time Error Occured :
BGI ERROR: Graphics not intialized use 'initgraph

I used initgraph olready .

1.Then i copied EVAVGA.BGI from BGI to BIN..
i tried again .. n a new ERROR on RUN TIME .
This system soes not support Full screen mode. Close to quit or smthing.
2. I gave the complete path in the initgraph .. ie:
int a=DETECT,b;
initgraph(&a,&b,"c:\TC\BIN");
still the result was same .
Plzz help me if ne one can .
I m using VISTA HOME PREMIUM.

initgraph(&a,&b,"c:\TC\BGI"); <<== give bgi driver path

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.