查看完整内容
[mw_shl_code=c,true]getchar();
switch(getchar())
{
case 'Y':case 'y':
system("cls");
goto Again;
case 'N':case 'n':
slow("\n\n 谢谢游玩,再见!!!");
Sleep(1000);
break;
default:
puts("输入错误!请重新输入!(Y/N)");
goto GetErrorKey;
}
[/mw_shl_code]
第一个getchar去掉