Click here to Skip to main content
15,904,416 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi I try to run my graphic program in the Turbo C++ environment (the system in my computer is windows 7):
XML
#include<graphics.h>
#include<stdio.h>
#include<math.h>
#include<conio.h>
#define pi 3.1415

int main (void)
{
int gdriver=DETECT,gmode,errorcode;
int x,y, pcolor;
double angle,sinofA;
initgraph(&gdriver,&gmode,"..//bgi");
setcolor(6);
line(0,100,200,100);
for(x=0;x<200;x++)
{
angle=((double)x/200)*(2*pi);
sinofA=sin(angle);
y=100+100*sinofA;
putpixel(x,y,9);
}
getch();
closegraph();
return 0;
}

The following Error showed:
This system does not support full screen mode.
Posted
Updated 17-Aug-11 22:52pm
v2

Becouse TC is not compatible with Window7
 
Share this answer
 
WHAT IS VERSION IN tc SUPPORT WINDOW 7??
 
Share this answer
 
Comments
enhzflep 18-Aug-11 9:09am    
None.
TC is not support Windows7. TC is a 16bit compiler. Get a 32(or 64) bit compiler designed for use with Windows.
I suggest Code::Blocks with MinGW (~70Mb download) _or_ Visual Studio Express (can't remember the download size)

OR

Try run your program under DosBOX.

And while you're at it, throw away your books of trigonometry tables and your slide rule and GET SOME MODERN TOOLS!
I try run my program under DosBOX but the same error showed:
This system does not support full screen mode.


CAN I get new version of compiler for TC work unde Windows7??
thanks
 
Share this answer
 
Comments
Richard MacCutchan 19-Aug-11 13:25pm    
Try a Google search, such as this
Mohibur Rashid 23-Aug-11 0:08am    
Hey, there is no new version for TC or Turbo C. It died itself. But Turbo C/C++ 3.0 Version is still used(I have no idea why) in India and Bangladesh(dont know about other country). Its a suggestion, stop wasting time with this thing. You cant even do simple database Application with Turbo C/C++.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900