Press any key to change color, do you want to try it. Please hurry up!
#include"stdio.h"#include"conio.h"
void main()
{
int colour;
for(colour = 0; colour < 8; colour++)
{
textbackground(colour);
cprintf("This is colour%d\r\n", colour);
cprintf("Press any key to continue\r\n");
getch();
}
}
请问textbackground()函数怎么写, 题目是就一个这个程序,我用的是visual studio 2010无法运行