[原创]帮看看这个,执行结果不太满意
#include <conio.h> main()
{
int i ;
char*f[]=
{
"Load lilibo","Pick Alt-F3","New ",
"Save F2","Write to ","Directory",
"Change dir","Os shee ","Quit Alt-X"
}
;
char buf[9*14*2];
clrscr();
textcolor(YELLOW);
textbackground(BLUE);
clrscr();
gettext(10,2,24,11,buf);
window(10,2,24,11);
textbackground(RED);
textcolor(YELLOW);
clrscr();
for(i=0;i<9;i++)
{
gotoxy(1,i++);
cprintf("%s",f[i]);
}
getch();
movetext(10,2,24,11,40,10);
puttext(10,2,24,11,buf);
getch();
}