比较难解程序错误
程序:
#include<iostream>
using namespace std;
int main()
{
int a;
cin>>a;
while(cin.fail())
{
cout<<"input a value,please : ";
cin.clear();
cin.sync();
cin>>a;
}
cout<<a<<endl;
system("pause");
return 0;
}
编译错误: fatal error C1083: Cannot open include file: 'streambuf': No such file or directory
高手请给我个答案