文件名称:6
介绍说明--下载内容均来自于网络,请自行研究使用
定义一个CPoint类,利用成员函数的重载实现整数的两点间距离和浮点数的两点间距离。要求:
(1) 分别用int,float数值类型设计成员函数重载;
(2) 分别用int,float的数值测试该程序。-Define a CPoint class using overloaded member function implementations between two integer and floating-point distance between two points distance. Requirements: (1) respectively int, float design value type member function overloading (2) respectively int, float value test the program.
(1) 分别用int,float数值类型设计成员函数重载;
(2) 分别用int,float的数值测试该程序。-Define a CPoint class using overloaded member function implementations between two integer and floating-point distance between two points distance. Requirements: (1) respectively int, float design value type member function overloading (2) respectively int, float value test the program.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
6.cpp