摘要: 1 #include<std_lib_facilities.h> 2 int main() 3 { 4 int n; 5 cin>>n; 6 /*if (cin.fail()) 7 cin.clear();*/ 8 if(!cin) 9 cout<<"asf";10 system("pause");11 }12 clear()will chang the condition ofstream to good().This part of date's input and output are as follow 阅读全文
posted @ 2012-03-10 19:03 windynightst 阅读(206) 评论(0) 推荐(0) 编辑