计算机 c语言 turbo c++ 3.0,怎么储存源代码捏,我是菜鸟啊,高手耐心一点啊,嘿嘿。

C\u8bed\u8a00\u8ba1\u7b97\u5668\u6e90\u4ee3\u7801\u8c01\u6709?

#include /*DOS\u63a5\u53e3\u51fd\u6570*/
#include /*\u6570\u5b66\u51fd\u6570\u7684\u5b9a\u4e49*/
#include /*\u5c4f\u5e55\u64cd\u4f5c\u51fd\u6570*/
#include /*I/O\u51fd\u6570*/
#include /*\u5e93\u51fd\u6570*/
#include /*\u53d8\u91cf\u957f\u5ea6\u53c2\u6570\u8868*/
#include /*\u56fe\u5f62\u51fd\u6570*/
#include /*\u5b57\u7b26\u4e32\u51fd\u6570*/
#include /*\u5b57\u7b26\u64cd\u4f5c\u51fd\u6570*/
#define UP 0x48 /*\u5149\u6807\u4e0a\u79fb\u952e*/
#define DOWN 0x50 /*\u5149\u6807\u4e0b\u79fb\u952e*/
#define LEFT 0x4b /*\u5149\u6807\u5de6\u79fb\u952e*/
#define RIGHT 0x4d /*\u5149\u6807\u53f3\u79fb\u952e*/
#define ENTER 0x0d /*\u56de\u8f66\u952e*/
void *rar; /*\u5168\u5c40\u53d8\u91cf\uff0c\u4fdd\u5b58\u5149\u6807\u56fe\u8c61*/
struct palettetype palette; /*\u4f7f\u7528\u8c03\u8272\u677f\u4fe1\u606f*/
int GraphDriver; /* \u56fe\u5f62\u8bbe\u5907\u9a71\u52a8*/
int GraphMode; /* \u56fe\u5f62\u6a21\u5f0f\u503c*/
int ErrorCode; /* \u9519\u8bef\u4ee3\u7801*/
int MaxColors; /* \u53ef\u7528\u989c\u8272\u7684\u6700\u5927\u6570\u503c*/
int MaxX, MaxY; /* \u5c4f\u5e55\u7684\u6700\u5927\u5206\u8fa8\u7387*/
double AspectRatio; /* \u5c4f\u5e55\u7684\u50cf\u7d20\u6bd4*/
void drawboder(void); /*\u753b\u8fb9\u6846\u51fd\u6570*/
void initialize(void); /*\u521d\u59cb\u5316\u51fd\u6570*/
void computer(void); /*\u8ba1\u7b97\u5668\u8ba1\u7b97\u51fd\u6570*/
void changetextstyle(int font, int direction, int charsize); /*\u6539\u53d8\u6587\u672c\u6837\u5f0f\u51fd\u6570*/
void mwindow(char *header); /*\u7a97\u53e3\u51fd\u6570*/
int specialkey(void) ; /*\u83b7\u53d6\u7279\u6b8a\u952e\u51fd\u6570*/
int arrow(); /*\u8bbe\u7f6e\u7bad\u5934\u5149\u6807\u51fd\u6570*/
/*\u4e3b\u51fd\u6570*/
int main()
{
initialize();/* \u8bbe\u7f6e\u7cfb\u7edf\u8fdb\u5165\u56fe\u5f62\u6a21\u5f0f */
computer(); /*\u8fd0\u884c\u8ba1\u7b97\u5668 */
closegraph();/*\u7cfb\u7edf\u5173\u95ed\u56fe\u5f62\u6a21\u5f0f\u8fd4\u56de\u6587\u672c\u6a21\u5f0f*/
return(0); /*\u7ed3\u675f\u7a0b\u5e8f*/
}
/* \u8bbe\u7f6e\u7cfb\u7edf\u8fdb\u5165\u56fe\u5f62\u6a21\u5f0f */
void initialize(void)
{
int xasp, yasp; /* \u7528\u4e8e\u8bfbx\u548cy\u65b9\u5411\u7eb5\u6a2a\u6bd4*/
GraphDriver = DETECT; /* \u81ea\u52a8\u68c0\u6d4b\u663e\u793a\u5668*/
initgraph( &GraphDriver, &GraphMode, "" );
/*\u521d\u59cb\u5316\u56fe\u5f62\u7cfb\u7edf*/
ErrorCode = graphresult(); /*\u8bfb\u521d\u59cb\u5316\u7ed3\u679c*/
if( ErrorCode != grOk ) /*\u5982\u679c\u521d\u59cb\u5316\u65f6\u51fa\u73b0\u9519\u8bef*/
{
printf("Graphics System Error: %s\n",
grapherrormsg( ErrorCode ) ); /*\u663e\u793a\u9519\u8bef\u4ee3\u7801*/
exit( 1 ); /*\u9000\u51fa*/
}
getpalette( &palette ); /* \u8bfb\u9762\u677f\u4fe1\u606f*/
MaxColors = getmaxcolor() + 1; /* \u8bfb\u53d6\u989c\u8272\u7684\u6700\u5927\u503c*/
MaxX = getmaxx(); /* \u8bfb\u5c4f\u5e55\u5c3a\u5bf8 */
MaxY = getmaxy(); /* \u8bfb\u5c4f\u5e55\u5c3a\u5bf8 */
getaspectratio( &xasp, &yasp ); /* \u62f7\u8d1d\u7eb5\u6a2a\u6bd4\u5230\u53d8\u91cf\u4e2d*/
AspectRatio = (double)xasp/(double)yasp;/* \u8ba1\u7b97\u7eb5\u6a2a\u6bd4\u503c*/
}
/*\u8ba1\u7b97\u5668\u51fd\u6570*/
void computer(void)
{
struct viewporttype vp; /*\u5b9a\u4e49\u89c6\u53e3\u7c7b\u578b\u53d8\u91cf*/
int color, height, width;
int x, y,x0,y0, i, j,v,m,n,act,flag=1;
float num1=0,num2=0,result; /*\u64cd\u4f5c\u6570\u548c\u8ba1\u7b97\u7ed3\u679c\u53d8\u91cf*/
char cnum[5],str2[20]={""},c,temp[20]={""};
char str1[]="1230.456+-789*/Qc=^%";/* \u5b9a\u4e49\u5b57\u7b26\u4e32\u5728\u6309\u94ae\u56fe\u5f62\u4e0a\u663e\u793a\u7684\u7b26\u53f7 */
mwindow( "Calculator" ); /* \u663e\u793a\u4e3b\u7a97\u53e3 */
color = 7; /*\u8bbe\u7f6e\u7070\u989c\u8272\u503c*/
getviewsettings( &vp ); /* \u8bfb\u53d6\u5f53\u524d\u7a97\u53e3\u7684\u5927\u5c0f*/
width=(vp.right+1)/10; /* \u8bbe\u7f6e\u6309\u94ae\u5bbd\u5ea6 */
height=(vp.bottom-10)/10 ; /*\u8bbe\u7f6e\u6309\u94ae\u9ad8\u5ea6 */
x = width /2; /*\u8bbe\u7f6ex\u7684\u5750\u6807\u503c*/
y = height/2; /*\u8bbe\u7f6ey\u7684\u5750\u6807\u503c*/
setfillstyle(SOLID_FILL, color+3);
bar( x+width*2, y, x+7*width, y+height );
/*\u753b\u4e00\u4e2a\u4e8c\u7ef4\u77e9\u5f62\u6761\u663e\u793a\u8fd0\u7b97\u6570\u548c\u7ed3\u679c*/
setcolor( color+3 ); /*\u8bbe\u7f6e\u6de1\u7eff\u989c\u8272\u8fb9\u6846\u7ebf*/
rectangle( x+width*2, y, x+7*width, y+height );
/*\u753b\u4e00\u4e2a\u77e9\u5f62\u8fb9\u6846\u7ebf*/
setcolor(RED); /*\u8bbe\u7f6e\u989c\u8272\u4e3a\u7ea2\u8272*/
outtextxy(x+3*width,y+height/2,"0."); /*\u8f93\u51fa\u5b57\u7b26\u4e32"0."*/
x =2*width-width/2; /*\u8bbe\u7f6ex\u7684\u5750\u6807\u503c*/
y =2*height+height/2; /*\u8bbe\u7f6ey\u7684\u5750\u6807\u503c*/
for( j=0 ; j<4 ; ++j ) /*\u753b\u6309\u94ae*/
{
for( i=0 ; i<5 ; ++i )
{
setfillstyle(SOLID_FILL, color);
setcolor(RED);
bar( x, y, x+width, y+height ); /*\u753b\u4e00\u4e2a\u77e9\u5f62\u6761*/
rectangle( x, y, x+width, y+height );
sprintf(str2,"%c",str1[j*5+i]);
/*\u5c06\u5b57\u7b26\u4fdd\u5b58\u5230str2\u4e2d*/
outtextxy( x+(width/2), y+height/2, str2);
x =x+width+ (width / 2) ; /*\u79fb\u52a8\u5217\u5750\u6807*/
}
y +=(height/2)*3; /* \u79fb\u52a8\u884c\u5750\u6807*/
x =2*width-width/2; /*\u590d\u4f4d\u5217\u5750\u6807*/
}
x0=2*width;
y0=3*height;
x=x0;
y=y0;
gotoxy(x,y); /*\u79fb\u52a8\u5149\u6807\u5230x,y\u4f4d\u7f6e*/
arrow(); /*\u663e\u793a\u5149\u6807*/
putimage(x,y,rar,XOR_PUT);
m=0;
n=0;
strcpy(str2,""); /*\u8bbe\u7f6estr2\u4e3a\u7a7a\u4e32*/
while((v=specialkey())!=45) /*\u5f53\u538b\u4e0bAlt+x\u952e\u7ed3\u675f\u7a0b\u5e8f\uff0c\u5426\u5219\u6267\u884c\u4e0b\u9762\u7684\u5faa\u73af*/
{
while((v=specialkey())!=ENTER) /*\u5f53\u538b\u4e0b\u952e\u4e0d\u662f\u56de\u8f66\u65f6*/
{
putimage(x,y,rar,XOR_PUT); /*\u663e\u793a\u5149\u6807\u56fe\u8c61*/
if(v==RIGHT) /*\u53f3\u79fb\u7bad\u5934\u65f6\u65b0\u4f4d\u7f6e\u8ba1\u7b97*/
if(x>=x0+6*width)
/*\u5982\u679c\u53f3\u79fb\uff0c\u79fb\u5230\u5c3e\uff0c\u5219\u79fb\u52a8\u5230\u6700\u5de6\u8fb9\u5b57\u7b26\u4f4d\u7f6e*/
{
x=x0;
m=0;
}
else
{
x=x+width+width/2;
m++;
} /*\u5426\u5219\uff0c\u53f3\u79fb\u5230\u4e0b\u4e00\u4e2a\u5b57\u7b26\u4f4d\u7f6e*/
if(v==LEFT) /*\u5de6\u79fb\u7bad\u5934\u65f6\u65b0\u4f4d\u7f6e\u8ba1\u7b97*/
if(x<=x0)
{
x=x0+6*width;
m=4;
} /*\u5982\u679c\u79fb\u5230\u5934\uff0c\u518d\u5de6\u79fb\uff0c\u5219\u79fb\u52a8\u5230\u6700\u53f3\u8fb9\u5b57\u7b26\u4f4d\u7f6e*/
else
{
x=x-width-width/2;
m--;
} /*\u5426\u5219\uff0c\u5de6\u79fb\u5230\u524d\u4e00\u4e2a\u5b57\u7b26\u4f4d\u7f6e*/
if(v==UP) /*\u4e0a\u79fb\u7bad\u5934\u65f6\u65b0\u4f4d\u7f6e\u8ba1\u7b97*/
if(y<=y0)
{
y=y0+4*height+height/2;
n=3;
} /*\u5982\u679c\u79fb\u5230\u5934\uff0c\u518d\u4e0a\u79fb\uff0c\u5219\u79fb\u52a8\u5230\u6700\u4e0b\u8fb9\u5b57\u7b26\u4f4d\u7f6e*/
else
{
y=y-height-height/2;
n--;
} /*\u5426\u5219\uff0c\u79fb\u5230\u4e0a\u8fb9\u4e00\u4e2a\u5b57\u7b26\u4f4d\u7f6e*/
if(v==DOWN) /*\u4e0b\u79fb\u7bad\u5934\u65f6\u65b0\u4f4d\u7f6e\u8ba1\u7b97*/
if(y>=7*height)
{
y=y0;
n=0;
} /*\u5982\u679c\u79fb\u5230\u5c3e\uff0c\u518d\u4e0b\u79fb\uff0c\u5219\u79fb\u52a8\u5230\u6700\u4e0a\u8fb9\u5b57\u7b26\u4f4d\u7f6e*/
else
{
y=y+height+height/2;
n++;
} /*\u5426\u5219\uff0c\u79fb\u5230\u4e0b\u8fb9\u4e00\u4e2a\u5b57\u7b26\u4f4d\u7f6e*/
putimage(x,y,rar,XOR_PUT); /*\u5728\u65b0\u7684\u4f4d\u7f6e\u663e\u793a\u5149\u6807\u7bad\u5934*/
}
c=str1[n*5+m]; /*\u5c06\u5b57\u7b26\u4fdd\u5b58\u5230\u53d8\u91cfc\u4e2d*/
if(isdigit(c)||c=='.') /*\u5224\u65ad\u662f\u5426\u662f\u6570\u5b57\u6216\u5c0f\u6570\u70b9*/
{
if(flag==-1) /*\u5982\u679c\u6807\u5fd7\u4e3a-1\uff0c\u8868\u660e\u4e3a\u8d1f\u6570*/
{
strcpy(str2,"-"); /*\u5c06\u8d1f\u53f7\u8fde\u63a5\u5230\u5b57\u7b26\u4e32\u4e2d*/
flag=1;
} /*\u5c06\u6807\u5fd7\u503c\u6062\u590d\u4e3a1*/
sprintf(temp,"%c",c); /*\u5c06\u5b57\u7b26\u4fdd\u5b58\u5230\u5b57\u7b26\u4e32\u53d8\u91cftemp\u4e2d*/
strcat(str2,temp); /*\u5c06temp\u4e2d\u7684\u5b57\u7b26\u4e32\u8fde\u63a5\u5230str2\u4e2d*/
setfillstyle(SOLID_FILL,color+3);
bar(2*width+width/2,height/2,15*width/2,3*height/2);
outtextxy(5*width,height,str2); /*\u663e\u793a\u5b57\u7b26\u4e32*/
}
if(c=='+')
{
num1=atof(str2); /*\u5c06\u7b2c\u4e00\u4e2a\u64cd\u4f5c\u6570\u8f6c\u6362\u4e3a\u6d6e\u70b9\u6570*/
strcpy(str2,""); /*\u5c06str2\u6e05\u7a7a*/
act=1; /*\u505a\u8ba1\u7b97\u52a0\u6cd5\u6807\u5fd7\u503c*/
setfillstyle(SOLID_FILL,color+3);
bar(2*width+width/2,height/2,15*width/2,3*height/2);
outtextxy(5*width,height,"0."); /*\u663e\u793a\u5b57\u7b26\u4e32*/
}
if(c=='-')
{
if(strcmp(str2,"")==0) /*\u5982\u679cstr2\u4e3a\u7a7a\uff0c\u8bf4\u660e\u662f\u8d1f\u53f7\uff0c\u800c\u4e0d\u662f\u51cf\u53f7*/
flag=-1; /*\u8bbe\u7f6e\u8d1f\u6570\u6807\u5fd7*/
else
{
num1=atof(str2); /*\u5c06\u7b2c\u4e8c\u4e2a\u64cd\u4f5c\u6570\u8f6c\u6362\u4e3a\u6d6e\u70b9\u6570*/
strcpy(str2,""); /*\u5c06str2\u6e05\u7a7a*/
act=2; /*\u505a\u8ba1\u7b97\u51cf\u6cd5\u6807\u5fd7\u503c*/
setfillstyle(SOLID_FILL,color+3);
bar(2*width+width/2,height/2,15*width/2,3*height/2); /*\u753b\u77e9\u5f62*/
outtextxy(5*width,height,"0."); /*\u663e\u793a\u5b57\u7b26\u4e32*/
}
}
if(c=='*')
{
num1=atof(str2); /*\u5c06\u7b2c\u4e8c\u4e2a\u64cd\u4f5c\u6570\u8f6c\u6362\u4e3a\u6d6e\u70b9\u6570*/
strcpy(str2,""); /*\u5c06str2\u6e05\u7a7a*/
act=3; /*\u505a\u8ba1\u7b97\u4e58\u6cd5\u6807\u5fd7\u503c*/
setfillstyle(SOLID_FILL,color+3); bar(2*width+width/2,height/2,15*width/2,3*height/2);
outtextxy(5*width,height,"0."); /*\u663e\u793a\u5b57\u7b26\u4e32*/
}
if(c=='/')
{
num1=atof(str2); /*\u5c06\u7b2c\u4e8c\u4e2a\u64cd\u4f5c\u6570\u8f6c\u6362\u4e3a\u6d6e\u70b9\u6570*/
strcpy(str2,""); /*\u5c06str2\u6e05\u7a7a*/
act=4; /*\u505a\u8ba1\u7b97\u9664\u6cd5\u6807\u5fd7\u503c*/
setfillstyle(SOLID_FILL,color+3);
bar(2*width+width/2,height/2,15*width/2,3*height/2);
outtextxy(5*width,height,"0."); /*\u663e\u793a\u5b57\u7b26\u4e32*/
}
if(c=='^')
{
num1=atof(str2); /*\u5c06\u7b2c\u4e8c\u4e2a\u64cd\u4f5c\u6570\u8f6c\u6362\u4e3a\u6d6e\u70b9\u6570*/
strcpy(str2,""); /*\u5c06str2\u6e05\u7a7a*/
act=5; /*\u505a\u8ba1\u7b97\u4e58\u65b9\u6807\u5fd7\u503c*/
setfillstyle(SOLID_FILL,color+3); /*\u8bbe\u7f6e\u7528\u6de1\u7eff\u8272\u5b9e\u4f53\u586b\u5145*/
bar(2*width+width/2,height/2,15*width/2,3*height/2); /*\u753b\u77e9\u5f62*/
outtextxy(5*width,height,"0."); /*\u663e\u793a\u5b57\u7b26\u4e32*/
}
if(c=='%')
{
num1=atof(str2); /*\u5c06\u7b2c\u4e8c\u4e2a\u64cd\u4f5c\u6570\u8f6c\u6362\u4e3a\u6d6e\u70b9\u6570*/
strcpy(str2,""); /*\u5c06str2\u6e05\u7a7a*/
act=6; /*\u505a\u8ba1\u7b97\u6a21\u8fd0\u7b97\u4e58\u65b9\u6807\u5fd7\u503c*/
setfillstyle(SOLID_FILL,color+3); /*\u8bbe\u7f6e\u7528\u6de1\u7eff\u8272\u5b9e\u4f53\u586b\u5145*/
bar(2*width+width/2,height/2,15*width/2,3*height/2); /*\u753b\u77e9\u5f62*/
outtextxy(5*width,height,"0."); /*\u663e\u793a\u5b57\u7b26\u4e32*/
}
if(c=='=')
{
num2=atof(str2); /*\u5c06\u7b2c\u4e8c\u4e2a\u64cd\u4f5c\u6570\u8f6c\u6362\u4e3a\u6d6e\u70b9\u6570*/
switch(act) /*\u6839\u636e\u8fd0\u7b97\u7b26\u53f7\u8ba1\u7b97*/
{
case 1:result=num1+num2;break; /*\u505a\u52a0\u6cd5*/
case 2:result=num1-num2;break; /*\u505a\u51cf\u6cd5*/
case 3:result=num1*num2;break; /*\u505a\u4e58\u6cd5*/
case 4:result=num1/num2;break; /*\u505a\u9664\u6cd5*/
case 5:result=pow(num1,num2);break; /*\u505ax\u7684y\u6b21\u65b9*/
case 6:result=fmod(num1,num2);break; /*\u505a\u6a21\u8fd0\u7b97*/
}
setfillstyle(SOLID_FILL,color+3); /*\u8bbe\u7f6e\u7528\u6de1\u7eff\u8272\u5b9e\u4f53\u586b\u5145*/
bar(2*width+width/2,height/2,15*width/2,3*height/2); /*\u8986\u76d6\u7ed3\u679c\u533a*/
sprintf(temp,"%f",result); /*\u5c06\u7ed3\u679c\u4fdd\u5b58\u5230temp\u4e2d*/
outtextxy(5*width,height,temp); /*\u663e\u793a\u7ed3\u679c*/
}
if(c=='c')
{
num1=0; /*\u5c06\u4e24\u4e2a\u64cd\u4f5c\u6570\u590d\u4f4d0\uff0c\u7b26\u53f7\u6807\u5fd7\u4e3a1*/
num2=0;
flag=1;
strcpy(str2,""); /*\u5c06str2\u6e05\u7a7a*/
setfillstyle(SOLID_FILL,color+3); /*\u8bbe\u7f6e\u7528\u6de1\u7eff\u8272\u5b9e\u4f53\u586b\u5145*/
bar(2*width+width/2,height/2,15*width/2,3*height/2); /*\u8986\u76d6\u7ed3\u679c\u533a*/
outtextxy(5*width,height,"0."); /*\u663e\u793a\u5b57\u7b26\u4e32*/
}
if(c=='Q')exit(0); /*\u5982\u679c\u9009\u62e9\u4e86q\u56de\u8f66\uff0c\u7ed3\u675f\u8ba1\u7b97\u7a0b\u5e8f*/
}
putimage(x,y,rar,XOR_PUT); /*\u5728\u9000\u51fa\u4e4b\u524d\u6d88\u53bb\u5149\u6807\u7bad\u5934*/
return; /*\u8fd4\u56de*/
}
/*\u7a97\u53e3\u51fd\u6570*/
void mwindow( char *header )
{
int height;
cleardevice(); /* \u6e05\u9664\u56fe\u5f62\u5c4f\u5e55 */
setcolor( MaxColors - 1 ); /* \u8bbe\u7f6e\u5f53\u524d\u989c\u8272\u4e3a\u767d\u8272*/
setviewport( 20, 20, MaxX/2, MaxY/2, 1 ); /* \u8bbe\u7f6e\u89c6\u53e3\u5927\u5c0f */
height = textheight( "H" ); /* \u8bfb\u53d6\u57fa\u672c\u6587\u672c\u5927\u5c0f */
settextstyle( DEFAULT_FONT, HORIZ_DIR, 1 );/*\u8bbe\u7f6e\u6587\u672c\u6837\u5f0f*/
settextjustify( CENTER_TEXT, TOP_TEXT );/*\u8bbe\u7f6e\u5b57\u7b26\u6392\u5217\u65b9\u5f0f*/
outtextxy( MaxX/4, 2, header ); /*\u8f93\u51fa\u6807\u9898*/
setviewport( 20,20+height+4, MaxX/2+4, MaxY/2+20, 1 ); /*\u8bbe\u7f6e\u89c6\u53e3\u5927\u5c0f*/
drawboder(); /*\u753b\u8fb9\u6846*/
}
void drawboder(void) /*\u753b\u8fb9\u6846*/
{
struct viewporttype vp; /*\u5b9a\u4e49\u89c6\u53e3\u7c7b\u578b\u53d8\u91cf*/
setcolor( MaxColors - 1 ); /*\u8bbe\u7f6e\u5f53\u524d\u989c\u8272\u4e3a\u767d\u8272 */
setlinestyle( SOLID_LINE, 0, NORM_WIDTH );/*\u8bbe\u7f6e\u753b\u7ebf\u65b9\u5f0f*/
getviewsettings( &vp );/*\u5c06\u5f53\u524d\u89c6\u53e3\u4fe1\u606f\u88c5\u5165vp\u6240\u6307\u7684\u7ed3\u6784\u4e2d*/
rectangle( 0, 0, vp.right-vp.left, vp.bottom-vp.top ); /*\u753b\u77e9\u5f62\u8fb9\u6846*/
}
/*\u8bbe\u8ba1\u9f20\u6807\u56fe\u5f62\u51fd\u6570*/
int arrow()
{
int size;
int raw[]={4,4,4,8,6,8,14,16,16,16,8,6,8,4,4,4}; /*\u5b9a\u4e49\u591a\u8fb9\u5f62\u5750\u6807*/
setfillstyle(SOLID_FILL,2); /*\u8bbe\u7f6e\u586b\u5145\u6a21\u5f0f*/
fillpoly(8,raw); /*\u753b\u51fa\u4e00\u5149\u6807\u7bad\u5934*/
size=imagesize(4,4,16,16); /*\u6d4b\u8bd5\u56fe\u8c61\u5927\u5c0f*/
rar=malloc(size); /*\u5206\u914d\u5185\u5b58\u533a\u57df*/
getimage(4,4,16,16,rar); /*\u5b58\u653e\u5149\u6807\u7bad\u5934\u56fe\u8c61*/
putimage(4,4,rar,XOR_PUT); /*\u6d88\u53bb\u5149\u6807\u7bad\u5934\u56fe\u8c61*/
return 0;
}
/*\u6309\u952e\u51fd\u6570*/
int specialkey(void)
{
int key;
while(bioskey(1)==0); /*\u7b49\u5f85\u952e\u76d8\u8f93\u5165*/
key=bioskey(0); /*\u952e\u76d8\u8f93\u5165*/
key=key&0xff? key&0xff:key>>8; /*\u53ea\u53d6\u7279\u6b8a\u952e\u7684\u626b\u63cf\u503c\uff0c\u5176\u4f59\u4e3a0*/
return(key); /*\u8fd4\u56de\u952e\u503c*/
}
\u001a

\u65b0\u5efa\u4e00\u4e2atxt\u6587\u4ef6\uff0c\u628a\u4ee3\u7801\u590d\u5236\u5230\u91cc\u9762\uff0c\u7136\u540e\u628a.text\u6539\u4e3a.c\u5c31\u53ef\u4ee5\u7528turbo c\u6253\u5f00\u4e86

我曾经用了很多年的tc,alt+s 可以快速保存,alt +F 可以打开菜单,用上下箭头选中用回车可以选择保存 ALT+Q 可以快速退出系统。但是TC只能在DOS下使用,后来就改用boland C++ 4.5 这个版本目前在各种windows下运行的很好,包括win7. 建议你改用这个吧,很多嵌入式开发都可以用这个。

现在很少用turbo C了,一般用VC或者cfree,呵呵。
对于楼主的程序代码,新建并写完代码以后正常的话文件file菜单下有保存save按钮就可以保存了。

扩展阅读:chaturbate最新登录地址 ... chaturbate 100% ... chaturbate直播录屏 ... chaturbate jointotoro ... c++和python先学哪个 ... c语言必背100代码 ... chaturbate webcam show ... 计算机c语言证书查询 ... python编程入门自学 ...

本站交流只代表网友个人观点,与本站立场无关
欢迎反馈与建议,请联系电邮
2024© 车视网