LZW壓縮和解壓縮程序 lzw.c 主要的功能模塊 bitio.c/bitio.h 一些支撐函數(shù),支持以比特(bit)為單位的文件I/O 用法: 壓縮 lzw E <in-file> <out-file> 解壓縮 lzw D <in-file> <out-file> 壓縮時,讀入<in-file>中內(nèi)容,壓縮后存入<out-file>中,得到壓縮文件。 解壓縮時,讀入<in-file>中內(nèi)容,將結(jié)果存入<out-file>中,得到原文件。 本代碼在linux+gcc/windows+vc下經(jīng)過測試,為了使讀者容易理解算法本身, 算法實現(xiàn)中僅采用了簡單的錯誤處理機制和優(yōu)化。
上傳時間: 2015-06-08
上傳用戶:chenbhdt
k均值聚類算法分析,采用C++編程技術(shù),提供代碼可重用機制
上傳時間: 2014-01-02
上傳用戶:zhengzg
c語言版的多項式曲線擬合。 用最小二乘法進行曲線擬合. 用p-1 次多項式進行擬合,p<= 10 x,y 的第0個域x[0],y[0],沒有用,有效數(shù)據(jù)從x[1],y[1] 開始 nNodeNum,有效數(shù)據(jù)節(jié)點的個數(shù)。 b,為輸出的多項式系數(shù),b[i] 為b[i-1]次項。b[0],沒有用。 b,有10個元素ok。
上傳時間: 2014-01-12
上傳用戶:變形金剛
壓縮文件中是Error Correction Coding - Mathematical Methods and Algorithms(Wiley 2005)作者:(Todd K. Moon )的配套代碼,是由C和matlab兩種語言編寫的
標簽: K. Mathematical Correction Algorithms
上傳時間: 2013-12-02
上傳用戶:zhuyibin
計算機算法中著名的0_1背包問題:給定n種物品和一背包。物品i的重量是Wi,其價值為Vi,背包的容量是c,問應(yīng)如何選擇裝入背包中的物品,使得裝入背包中物品的總價值最大。
上傳時間: 2015-06-20
上傳用戶:leehom61
MantisChess -- A Chinese Chess Program Copyright (C) Chen Chengtao, China This program is free software you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation either version 2 of the License, or (at your option) any later version.
標簽: MantisChess Copyright Chengtao Chinese
上傳時間: 2015-06-22
上傳用戶:蟲蟲蟲蟲蟲蟲
剖析Intel IA32 架構(gòu)下C 語言及CPU 浮點數(shù)機制 Version 0.01 哈爾濱工業(yè)大學(xué) 謝煜波 (email: xieyubo@126.com 網(wǎng)址:http://purec.binghua.com) (QQ:13916830 哈工大紫丁香BBSID:iamxiaohan) 前言 這兩天翻看一本C 語言書的時候,發(fā)現(xiàn)上面有一段這樣寫到 例:將同一實型數(shù)分別賦值給單精度實型和雙精度實型,然后打印輸出。 #include <stdio.h> main() { float a double b a = 123456.789e4 b = 123456.789e4 printf(“%f\n%f\n”,a,b) } 運行結(jié)果如下:
標簽: Version xieyubo Intel email
上傳時間: 2013-12-25
上傳用戶:徐孺
利用“原始套接字”(Raw Socket),我們可訪問位于基層的傳輸協(xié)議。本章專門講解如 何運用這種原始套接字,來模擬I P的一些實用工具,比如Tr a c e r o u t e和P i n g程序等等。使用原 始套接字,亦可對I P頭信息進行實際的操作。本章只關(guān)心I P協(xié)議;至于如何針對其他協(xié)議使 用原始套接字,我們不打算提及。而且,大多數(shù)協(xié)議(除AT M以外)根本就不支持原始套接 字。所有原始套接字都是使用S O C K _ R AW這個套接字類型來創(chuàng)建的,而且目前只有Wi n s o c k 2提供了對它的支持。因此,無論Microsoft Windows CE 還是老版本的Windows 95 (無 Winsock 2升級)均不能利用原始套接字的能力。
上傳時間: 2015-07-08
上傳用戶:時代電子小智
模式識別中的K均值的動態(tài)聚類算法,C語言編寫
上傳時間: 2015-08-10
上傳用戶:thinode
驅(qū)動開發(fā)向?qū)? I came across an article QuickSYS which implements an NT driver framework. That article demonstrates a MFC application that gets a project name as a parameter and creates Visual C++ workspace with NT driver framework. I decided to copy the NT driver framework source and to put it in the Visual Studio project wizard as seen above. This is simpler rather than running an external executable application that generates the code for you.
標簽: article implements framework QuickSYS
上傳時間: 2014-01-07
上傳用戶:2467478207
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1