Press any key to change color, do you want to try it. Please hurry up.
程序源代码: #include <conio.h>
void main(void)
{
int color;
for (color = 0; color < 8; color++)
{
textbackground(color);
cprintf("This is color %d\r\n", color);
cprintf("Press any key to continue\r\n");
getch();/*输入字符看不见*/
}
}
这个题目 应该怎么完成呢?红色字体部分 要怎么处理呢?各位大虾们帮帮忙啊