// CTest.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include#include using namespace std;class Cpoint{private: double x,y;public: Cpoint(double x1,double y1){ x=x1;y=y1; } void print(){ cout<<"("< <<","< <<")"<
本文共 367 字,大约阅读时间需要 1 分钟。
// CTest.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include#include using namespace std;class Cpoint{private: double x,y;public: Cpoint(double x1,double y1){ x=x1;y=y1; } void print(){ cout<<"("< <<","< <<")"<
转载于:https://www.cnblogs.com/bksqmy/p/4523965.html