Forum     

Go Back   Digit Technology Discussion Forum > Software > Software Q&A
Register FAQ Calendar Mark Forums Read

Software Q&A Having trouble with software? Find solutions here


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 26-02-2007, 06:18 PM   #1 (permalink)
In The Zone
 
morpheusv6's Avatar
 
Join Date: Dec 2006
Location: Bangalore
Posts: 216
Question Turbo CPP 3.0 help


I recently installed TCpp 3.0 on my system.
I am intrested in doing a grpahics oriented project in C. But I am unable to use graphics.h. initgraph() does not seem to function!

After typing the following code:

#include<conio.h>
#include<graphics.h>
int main()
{ int gd=DETECT,gm;
initgrapgh(&gd,&gm,"F:/TC/BGI");
circle(200,200,30);
getch();
closegraph();
return 0;
}
My program hangs after getting a black screen. Even the .exe file version of the program hangs.

The path is correct and so is the program. It works in the system in the college and in my friend's house.

My system config is: AMD Athlon 64 3500+, Gigabyte mobo, 1 GB DDR 400 RAM, Palit Nvidia 7600GT Graphics card. Windows XP Pro SP2.

I tried even removing the graphics card and executing the program but to no avail.

The detectdriver() example in the help section reports tht I have a VGA display card.

Please help me to correct this problem.

Is there any other compiler which supports graphics.h or alternative graphic options?
__________________
Deven
morpheusv6 is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 26-02-2007, 06:30 PM   #2 (permalink)
Alpha Geek
 
shashank4u's Avatar
 
Join Date: Jan 2006
Location: Online
Posts: 686
Default Re: Turbo CPP 3.0 help

see here..
http://www.onecore.net/turbo-c-graphics-programming.htm
rep me if u like it.
__________________
Be like a postage stamp-stick to one thing until you get there.
shashank4u is offline  
Old 26-02-2007, 06:47 PM   #3 (permalink)
Human Spambot
 
shantanu's Avatar
 
Join Date: Dec 2006
Posts: 2,798
Default Re: Turbo CPP 3.0 help

you are posting two threads why??? REPORTED
shantanu is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Sujeet
- by ico
- by Tenida
- by gohan89
- by clinton

Advertisement




All times are GMT +5.5. The time now is 10:22 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2