CPoint(int word1,int word2); 这句在定义的时候加上public:CPoint(int word1,int word2); 构造函数好象一般都是public,否则对象没办法调用