首页 > TAG信息列表 > MyCin

30

1 #include <iostream> 2 using namespace std; 3 class MyCin 4 { 5 bool value; 6 public: 7 MyCin():value(true){ } 8 operator bool(){return value;} 9 MyCin& operator>>(int& n){ 10 cin >> n; 11 if