www.gusucode.com > VC++空间后方交会的3种形式实例源码-源码程序 > VC++空间后方交会的3种形式实例源码-源码程序/code/CResection/test.cpp
#include "CResection.h" //Download by http://www.NewXing.com void main() { //以下为CResection类的调用示例 //在构造函数中初始化m,f,以及存储原始坐标的文件 CResection res(50000,153.24,"sourcedata.txt"); //输出接口1: 保存为文件 res.SaveResult("result.txt"); //输出接口2: 控制台程序直接输出 res.OutputResult(); }