标签:cin
cin输入格式不正确的问题
int main() { int num; cout<<"请输入题号:" << endl; while(1) { cin>> num; cout<<num<<endl; if(num >= 1 && num <= 4) break……
02-03 立刻查看
int main() { int num; cout<<"请输入题号:" << endl; while(1) { cin>> num; cout<<num<<endl; if(num >= 1 && num <= 4) break……