摘要: struct Point { double x,y; Point(double x=0,double y=0):x(x),y(y){} }; typedef Point Vector Vector operator + (Vector A,Vector B) { return Vector(A.x+B.x,A.y+B.y); } Vector operator -... 阅读全文
posted @ 2016-12-20 15:14 邻家那小孩儿 阅读(227) 评论(0) 推荐(0) 编辑