65,187
社区成员




class Vector {
private :
double x ;
double y ;
public :
friend inline ifstream &operator>> (ifstream &ifs ,Vector &a) {
return ifs >> a.x >> a.y ;
}
} ;
int main () {
ifstream ifs = ifstream ("1.txt") ;
Vector a ;
ifs >> a ;
return 0 ;
}