#include<stdio.h>
#include<conio.h>
main()
{
char *p
clrscr();
textmode(C4350);
window(10,5,50,20);
gotoxy(1,1);
textcolor(RED);
textbackground(WHITE);
cprintf("Enter a string:");
p=cgets(str);
gotoxy(1,5);
textbackground(BLUE);
cprintf("%s",p);
getch();
textmode(LASTMODE);
return 0:
}
这个为什么运行不了,哪里出错了。路过的,如果知道的,请指点一下,谢谢····
|