文件名称:1.1
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:11.06kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
C++设计一个表示平面直角坐标系的点的位置Location类,提供函数得到该点的坐标、计算两个点之间的距离,并且能够自动统计坐标系中点的个数。
测试要求:在主程序中创建两个对象A和B,按如下格式输出两个点的坐标和两个点的距离。
A(x1, y1), B(x2, y2), Distance=d
-C++ to design a plane rectangular coordinate system, said the positions of points Location class provides functions to get the coordinates of points, calculate the distance between two points, and automatically the number of statistical mid-point coordinates. Test requirements: in the main program creates two objects A and B, two points in the following format output coordinates and the distance between two points. A (x1, y1), B (x2, y2), Distance = d
测试要求:在主程序中创建两个对象A和B,按如下格式输出两个点的坐标和两个点的距离。
A(x1, y1), B(x2, y2), Distance=d
-C++ to design a plane rectangular coordinate system, said the positions of points Location class provides functions to get the coordinates of points, calculate the distance between two points, and automatically the number of statistical mid-point coordinates. Test requirements: in the main program creates two objects A and B, two points in the following format output coordinates and the distance between two points. A (x1, y1), B (x2, y2), Distance = d
(系统自动生成,下载前可以参看下载内容)
下载文件列表
1.1.cpp
C++上机作业.doc
C++上机作业.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.