Visual Studio中说,有一个发生OverflowException未处理 //draws the point.
public void Draw(Graphics g)
{
float radius = 3; //radius of the circle which describes the point.
// draws the circle of the
我想实现这个减法方法 问题是,当我尝试使用它,它给我一个错误,这里是我的代码 public Point subtract(Point p1, Point p2) {
Point p3 = new Point();
p3 = p1 - p2; ////getting error here
return p3;
}
public int isHorizonatal