-
InversionCount_old
输入一个有效数列,用归并算法排列,最后得出这个数列的逆序数(Let be an array of distinct integers. If and then the pair is called an inversion of . Given and an array your task is to find the number of inversions of .)
- 2014-01-08 14:45:24下载
- 积分:1
-
jicheng
定义点Point类作为基类,在此基础上派生出直线Line类和圆Circle类,在Circle类的基础上以不同的属性派生出圆柱Cylinder类和球Spheroid。并要求基类和各派生类具有以下特点:
(1) Line类含有计算直线长度和斜率的成员函数。
(2) Circle类含有计算圆面积的成员函数。
(3) Cylinder类含有计算圆柱表面积和体积的成员函数。
(4) Spheroid类含有计算球体的表面积和体积的成员函数。
(Point definition of point type as the base category, on the basis of a straight line derived Circle Circle Line category and class, in the Circle class based on different attributes derived Cylinder class and ball cylinder Spheroid. And requested the base class, and factions of Health category has the following characteristics: (1) Line category contains the length and slope of a straight-line calculation of member functions. (2) Circle type of circular area containing the members of the calculation function. (3) Cylinder category contains cylindrical surface area and volume calculation of the member functions. (4) Spheroid Spheroid category contains the calculation of surface area and volume of the member functions.)
- 2009-01-03 09:49:40下载
- 积分:1
-
voicechatAndRecording
内含服务端和客户端,服务端开启后,客户端可以与另外一个客户端进行语音录音,也可以进行广播,类似网络会议(暂不支持视频).适合想了解多媒体编程和网络编程的初学者.(Includes server and client,when server opened, the client can chat with another client also record voice, you can also broadcast to all client online, similar to the network meeting (not support video). Suited to people who want to know multi-media programming and network programming.)
- 2009-12-12 22:10:27下载
- 积分:1
-
ActiveKey
说明: 全局键盘钩子DLL
模拟键盘消息和鼠标消息(Global keyboard hook DLL simulate keyboard and mouse news news)
- 2008-10-15 21:59:17下载
- 积分:1
-
Zernike-Moment
关于泽尼克矩的应用于二维图形文件的搜索。(Zernike Moment)
- 2015-05-11 11:40:18下载
- 积分:1
-
1
说明: 大规模地形渲染, 大规模地形渲染, (terra render)
- 2012-04-04 09:29:30下载
- 积分:1
-
第一个MFC的WinSocket编程示例
环境:Windows XP SP 3、 VC++ 6.0、 Windows Server 2003 SDK
使用步骤:
1、下载解压之后,使用VC++ 6.0 IDE打开.dws文件
2、点击“!”按钮运行程序
3、如果一切正常会出现一个对话框,然后选择下拉框中的“服务端”启动服务器进程--接着点击“监听”按钮
4、然后再点击“!”按钮运行客户端进程
5、如果一切正常,那么选择下拉框中的“客户端”启动客户端进程--接着点击“连接”按钮,让客户端连接到socket服务器
6、在客户端的“消息”栏中输入信息,然后点击“发送”按钮
7、点击服务器端进程,应该可以看见客户端发送过来的消息,然后可以在“消息”栏中输入响应信息,然后点击“发送”按钮,此时会在客户端进程中看服务器端进程响应的信息
该示例是实现了一个客户端对象对应一个服务端对象的socket的网络编程--最简单的VC++的网络编程示例。该示使用主要是自定义一个类--它继承MFC库中CAsyncSocket类,然后重写OnAccept, OnSend, OnReceive和OnClose方法来实现一对一的VC++的socket网络编程。注意:自定义类关联应用向导生成的对话框类,需要在头文件中书写语句“class CHelloSocketDlg;”,并且在.cpp文件中写入语句“#include "HelloSocketDlg.h";”,否则编译不会通过!
本示例使用Dialog模式的UI是为方便说明socket编程,在对话框类的OnInitDialog方法有初始化的成员变量的注释说明,在自定义类中的注释非常详细。本人觉得MFC使用异步通信类CAsyncSocket实现Java中的ServerSocket类和Socket类的编程效果,是非常牛的!(虽然本人认为它还封装得不够OO--因为它封装得让使用者觉得“很傻很天真”)。
- 2022-03-22 11:57:16下载
- 积分:1
-
BackButton
UWP BackButton Demo UWP BackButton DemoUWP BackButton DemoUWP BackButton DemoUWP BackButton DemoUWP BackButton DemoUWP BackButton DemoUWP BackButton DemoUWP BackButton DemoUWP BackButton DemoUWP BackButton DemoUWP BackButton DemoUWP BackButton DemoUWP BackButton DemoUWP BackButton DemoUWP BackButton DemoUWP BackButton DemoUWP BackButton Demo
- 2022-05-18 12:41:25下载
- 积分:1
-
simulation
this code is for simulation solution
- 2012-08-02 14:30:41下载
- 积分:1
-
vs-2008-under-MFC-program--run-dall
visual studio 2008下MFC程序运行所需dall(visual studio 2008 under MFC program needed to run dall)
- 2012-08-28 10:14:28下载
- 积分:1