-
AutocomplectionCtrl_demo
获取网络设置获取网络设置获取网络设置 获取网络设置(Access to the network settings to obtain network settings network settings to obtain access to network settings)
- 2007-11-17 01:55:11下载
- 积分:1
-
CPPPrimer
这是一部很好的C++学习教材,有助于大家提高C++的学习(This is a very good C++ learning materials.Help us to improve the learning C++)
- 2011-12-11 19:58:45下载
- 积分: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
-
Calculater
Calculator program design by visual basic
- 2013-09-23 17:38:25下载
- 积分:1
-
DEBUGwithu-bootonsam9261
SAM9261上调试U-boot 在ADS环境下运行,可以帮助了解Uboot的运行(DEBUG with u-boot on sam9261)
- 2010-05-13 20:06:04下载
- 积分:1
-
GifCodec
参考网上的资料写的gif编解码。
编码用gdi解析常用图片格式,然后组装成gif
解码吧gif的每一帧转换成dib
gif文件格式网上有很多介绍
gif用的变长lzw压缩算法:
没弄懂原理,只知道过程。压缩取一个字符作为后缀,看看字符串是否存在。存在,用对应的编码作为前缀继续取;不存在把字符串添加到字典,前缀添加到输出流,后缀作为前缀继续取。解压取一个编码看看字典中是否存在。存在用对应的字符串的第一个字符作为后缀,看看当前字符串是否存在,不存在添加到字典中,后缀作为前缀,前缀对应的字符串添加到输出流,继续取;编码不存在,前缀对应的字符串的第一个字符作为后缀(这时当前字符串肯定不存在,字典中下一个可用编码肯定等于刚取出的编码),字符串添加到字典中,编码作为前缀,前缀对应的字符串添加到输出流,继续取。
编码流转换成字节流是按位从低到高的,window是小端模式(低字节在低地址),字节内低位在右边。
24位dib转换成8位dib时使用的八叉树算法
图片拉伸时参考的网上的双线性插值算法。
字典满了位数加一,位数是12时不加(Online reference materials written gif codec.
Encoded using gdi resolve common image formats, and then assembled into a gif
Each frame decode it into a gif dib
There are many online gif file format introduced
gif lzw with variable length compression algorithm:
Did not understand the principle, only know the process. Compression takes a character as a suffix, and see if there is a string. Exist as a prefix to continue to take with the corresponding encoding there is no string to add to the dictionary, a prefix added to the output stream, the suffix as a prefix to continue to take. Take a look at extracting coding dictionary exists. Exist with the corresponding first character string as a suffix to see the current string exists, there is no add to the dictionary, the suffix as a prefix, the corresponding string to the output stream, continue to take coding does not exist, prefix corresponding first character string as a suffix (when the current string certainly does not exis)
- 2015-01-17 20:22:25下载
- 积分:1
-
VCPP-DLL-programing
基于VC++动态链接库的编程说明书籍,书中包含部分实例(Based on VC++ dynamic link library programming note books, the book contains some examples)
- 2011-11-17 19:27:21下载
- 积分:1
-
abc
基于MFC在编辑框中实现文件的打开、查找和关键字搜索定位等功能(Based on MFC it realized the openning and searching of files or texts in your edit box and so on )
- 2013-12-04 21:04:59下载
- 积分:1
-
waterfall_demo
一个演示3D波浪的图形类(A demonstration of 3D graphics-type wave)
- 2003-08-07 00:00:00下载
- 积分:1
-
ImageViewCtrl
一个picture控件类,可以对图片作简单处理,如:放大、缩小、滚动浏览等。(A picture control class, you can make a simple image processing, such as: zoom, scroll and so on.)
- 2013-08-20 17:18:04下载
- 积分:1