登录
首页 » c++ » 定义一个类,计算两点之间的距离

定义一个类,计算两点之间的距离

于 2022-08-12 发布 文件大小:1.04 kB
0 132
下载积分: 2 下载次数: 1

代码说明:

定义一个Point类,其属性包括点的坐标,提供计算两点之间距离的方法

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Search-in-Rotated-Sorted-Array
    LeetCode OJ:Search in Rotated Sorted Array
    2014-06-01 15:49:43下载
    积分:1
  • FireWorks
    自从烟花算法的开创性论文由谭营教授等人于2010年发表之后 [1] ,业界对烟花算法的研究逐步深入和铺开。通过对原始烟花算法的细致、深入的分析,针对原始烟花算法(FWA)的不足,提出了大量的改进方法,并据此发展了各种改进算法,以及与其他方法的混合方法,大大提高的原始烟花算法的性能,同时研究了烟花算法在求解不同类型优化问题的能力,还有大量的研究人员进行了烟花算法的应用研究,给出了一些典型的成功应用案例。(Since the publication of the pioneering algorithm of the fireworks algorithm in 2010 by Professor Tan Ying and others in [1], the research on fireworks algorithm has gradually deepened and spread in the industry. Through the careful and thorough analysis of the original fireworks algorithm, a large number of improvement methods are put forward in view of the shortage of the original fireworks algorithm (FWA), and a variety of improved algorithms are developed, and the performance of the original fireworks algorithm is greatly improved. At the same time, the solution of the fireworks algorithm is not solved. With the ability of the same type optimization problem, a large number of researchers have applied the research on the fireworks algorithm, and given some typical successful application cases.)
    2018-05-03 10:47:57下载
    积分:1
  • browsebmps
    图片批量浏览(Picture bulk browser)
    2008-12-29 11:56:30下载
    积分:1
  • USB接口编程源代码(VC)
    详细介绍了VC下利用WINDOWS API函数来实现与符合HID设备类的USB接口通信,并给出了通信程序的部分源代码(details of VC using Windows API function to achieve compliance with the type of equipment HID USB communications, and communications procedures given the source code)
    2020-06-26 09:20:02下载
    积分:1
  • segmentforimage
    图像分割源码,是一种基于图论的方法做的。分割的质量超好,不信的话下载下来看,你就清楚了!(Image segmentation source code, is a method based on graph theory to do. Segmentation quality is super good, do not believe it download the next run, you will be clear!)
    2013-07-18 20:37:01下载
    积分:1
  • ppi-c
    说明:  西门子ppi通讯,新人上传的第一个代码,请多关注,谢谢大家了(Siemens PPI newsletter, the first code uploaded by newcomers, please pay more attention. Thank you.)
    2020-06-23 15:20:01下载
    积分:1
  • mmal_gwaphics
    图像处理类可以很容易的处理bmp等数字图形和图像,(Class can easily deal with BMP image processing such as digital graphics and images,)
    2017-08-21 20:21:58下载
    积分:1
  • GMap
    本源码主要功能,是对互联网上的google 地图 API 编程,放大,缩小,平移地图,并在地图上定位定位给定点经度,纬度的位置。(The main source function is to google maps on the Internet API programming, zoom in, zoom out, pan the map and locate locate a given point on the map longitude and latitude of the location.)
    2013-07-27 13:38:54下载
    积分:1
  • MyQtproject
    简单画图板,初学者实用,比较简单,如果喜欢可以下载来看看(Simple drawing board, beginners practical, relatively simple)
    2013-12-18 13:42:50下载
    积分:1
  • Principles_and_Patterns
    说明:  programming principles and patterns
    2019-03-19 13:23:19下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载