#include<conio.h> void main(void) { int color; for (color=0;color<8;color++) { textbackgroung(color); cprintf("This is color%d\r\n",color); cprintf("press any key to continue\r\n"); getch(); } }
以下是引用求×知×者在2007-1-23 23:18:00的发言: #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(); } }