如图,在A头文件(Point.h)写一个类 ,写构造函数
class CPoint
{
public:
CPoint(void)
{
Lx = 16.012;
Ly = 79.963;
Rx = -73.93;
Ry = 78.705;
X = 5083.205;
Y = 5852.099;
Z = 527.925;
flag = true;
};
~CPoint(void) {};
在B头文件中包含
#pragma once
#include "Point.h"