我在寫下面的重載構造函數時遇到了困難。這就是我被要求做的事情。爲需要三個點作爲輸入的Plane類創建一個重載的構造函數。將這些輸入命名爲pointU,pointV和pointW。C#重載的構造函數
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Geometry
{
public class Plane
{
//---------------------------------------------------------------------
// PRIVATE INSTANCE VARIABLES
private Point u;
private Point v;
private Point w;
//---------------------------------------------------------------------
// CONSTRUCTORS
public Plane()
{
u = new Point();
v = new Point();
w = new Point();
}
//Overloaded Constructor with 3 Points as inputs
@AMR是的功課,但它的一個非常小的塊到一類,我甚至不需要了... – 2013-04-08 01:01:14