这个程序哪里不标准了???
写了个程序在DEV-C++里不可以运行,就到TC里去运行,可以运行,程序哪里不标准了????#include "stdio.h"
#include "conio.h"
#include "stdlib.h"
#include "graphics.h"
void funcolor(int,int,int);
void question1();
void question2();
int main()
{
funcolor(12,10,15);
question1();
funcolor(14,5,2);
question2();
getch();
return 0;
}
void funcolor(int iColorOutside,int iColorIndside,int iColorText)
{
window(1,1,80,25);
textbackground(iColorOutside);
clrscr();
window(20,5,60,20);
textbackground(iColorInside);
textcolor(iColorText);
clrscr();
}
void question1()
{
char cCh='\0',cCha='\0';
printf("Now begin the test.");
gotoxy(1,3);
printf("1.Look _____ the picture.");
gotoxy(1,5);
printf("A) after B) for C) at D) on");
gotoxy(1,7);
printf("your choice is:");
scanf("%c",&cCh);
gotoxy(1,9);
printf("Press any key to continue...");
scanf("%c%c",&cCh,&cCha);
}
void question2()
{
char cCh='\0',cCha='\0';
gotoxy(3,2);
printf("Now continue.");
gotoxy(3,4);
printf("2. Put _____ your coat.");
gotoxy(3,6);
printf("A) in B) up C) on D) to ");
gotoxy(3,8);
printf("Your choose is:");
scanf("%c",&cCh);
gotoxy(3,10);
printf("Press enter to end...");
scanf("%c%c",&cCha,&cCha);
}