-
DLL_CALL
该源代码是我精心为朋友准备的,涵盖了各种调用方式和编译方式,花了半个月的业余时间,很高贵啊(The source code is for a friend I painstakingly prepared, covering a variety of ways and the compiler calls the way of spare time to spend half a month, a high贵啊)
- 2009-04-21 19:09:20下载
- 积分:1
-
ADO2SqlServer
好的东西要分享,最近下载了一个VC++连接ACCESS的数据库,对数据库的操作非常详细,但就是弄不懂怎么增删改查,请高手指教!(Good things to share recently downloaded a VC++ connected ACCESS database, the operation of the database is very detailed, but do not understand how CRUD expert advice, please!)
- 2020-11-04 20:59:52下载
- 积分:1
-
hafuman
一 . 需求分析:
1) 输入形式和输入值范围:
输入形式是要压缩(或者要解压)的文件路径,输入范围是字符串,而且要是文件的路径。
2) 输出形式:
输出相应的编码压缩文件和解码原文件
3) 程序所能达到的功能:
利用哈夫曼对ASCII文件做不等长编码,达到压缩文件。利用哈夫曼树的遍历,达到解压文件的目的。程序的功能也就是实现压缩和解压ASCII类型文件的目的。
4)测试数据:(包括正确的输入数据及其输出结果和含有错误输入及其输出结果)
测试输入或者输出文本框是不是有空的,是不是不是有效路径。进行条件判断,实现错误处理。
比如要压缩:c:a.txt 文件路径就是:c:a.txt。如果输入框是空的,就判断,然后用MessageBox处理信息。
如果文件路径和文件的输出路径都写正确的话,就会输出相应的压缩或者解压文件,否则用函数MessageBox提示错误。然后进行更正。
二 . 概要设计:
1) 哈夫曼树的特点
a) 是二叉树的一种,而且是一种没有度数是1的二叉树
b) 一棵树有n个叶子,就会用2n-1个节点
c) 一种“最优”二叉树,由于树的带权路径(WPL)最小
d) 由于它是由下到上顺序构造的,使得分支节点和叶子节点从下到上,权值都是从小到大的顺序排列的
()
- 2007-07-16 22:04:12下载
- 积分:1
-
Jpg_decoder
win32下的与linux下的jpg解码的程序,测试通过,读取jpg图片文件,并保存为bmp文件,bmp +40偏移为rgb流(under win32 under linux jpg decoding procedures, test)
- 2013-02-19 16:30:26下载
- 积分:1
-
client-server
多协议文件传输c/s网络应用设计与实现,程序用 TCP/UDP 两个协议模拟多协议服务器。首先服务器端要将两种协议的套接字创建好,并且监听 TCP 端口的连接。必要时使用select函数来进行多连接处理和非阻塞处理。而客户端直接可以按照发送的地址和端口号来进行通讯。
首先要运行服务器端,服务器会监听 TCP 端口。然后运行客户端,根据事先设定好的 IP和端口,就可以进行连接传输数据了。
程序实现的关键步骤:
以TCP协议为例
服务器端:
1.创建套接字;2.绑定端口;3.进入无穷的循环;4.接收请求;5.处理请求;6.应答。
客户端:
1.找到服务器的IP地址和协议的端口号;2.创建套接字;3.确定连接需要任意的,没有使用的端口号允许TCP去选择一个;4.将套接字和服务器连接;5.使用应用层协议和服务器交互;6.关闭连接。
(Multi-protocol file transfer c/s network application design and implementation of programs simulate multi-protocol server with TCP/UDP both protocols. First socket server to create a good two protocols, TCP port and listens for connections. If necessary, use the function to handle multiple connections and non-blocking treatment. And the client can follow directly address and port number to communicate.
First run on the server side, the server listens on TCP port. Then run the client, according to pre-configured IP and port, you can connect the data transmission.
The key step program implementation:
In TCP protocol as an example
Service-Terminal:
1. Create a socket 2 bound port 3 enter an infinite loop 4. receiving a request 5. processing requests 6 response.
Clients:
1. Locate the server s IP address and protocol port number 2 creates a socket 3 connections need to determine arbitrary, unused port allows TCP to choose a 4 and the socket server connections 5 using appli)
- 2016-07-11 10:19:07下载
- 积分:1
-
Lyapunov_2_ok
李亚普诺夫 指数谱 程序
李亚普诺夫 指数谱 程序
李亚普诺夫 指数谱 程序
(Lyapunov exponent spectrum of Lyapunov exponent spectrum program Lyapunov exponent spectrum program program)
- 2011-05-03 21:10:11下载
- 积分:1
-
rsa_bb_src02
ini adalah program C++
- 2018-09-10 17:09:14下载
- 积分:1
-
tsp--yichuangsuanfa
程序对48个城市的TSP问题(城市坐标文件对应于48.txt)进行计算,求解路径和最优路径图如下。
48个城市结果,大的红*表示路径开始城市,途经城市依次用蓝色方块和红色*标示。
(Procedures of the 48 cities TSP problem (document coordinates corresponding to the city 48.txt) to calculate the optimal solution of the path and road map are as follows. The results of 48 cities, the path of the red* indicates the beginning of the city, passing through the city followed by the blue box and red* marked.)
- 2009-04-11 22:05:02下载
- 积分:1
-
JS_Http_Svchost
一个网络后门程序。演示了通过Http通道的功能穿透安全级别非常高的防火墙,甚至硬件防火墙。()
- 2008-07-09 19:55:41下载
- 积分:1
-
CDCDemo
使用CDC类函数,实现绘图及文字输出的实例源码,很不错的vc源码,推荐!(Using the CDC class functions, graphics and text output to achieve an instance of source code, source code vc very good, recommended!)
- 2011-08-26 20:54:06下载
- 积分:1