摘要:
//定义二维平面上的点struct Point{ int x; int y; Point(int a=0, int b=0):x(a),y(b){}};bool operator==(const Point& left, const Point& right){ return... 阅读全文
摘要:
//convert string type value to double type value string s = "23"; double d; istringstream is(s); is>>d; cout<<d<<endl; //输出23 //convert double type ... 阅读全文