PTypes (C++ Portable Types Library) is a simple alternative to the STL that includes multithreading and networking. It defines dynamic strings, variants, character sets, lists and other basic data types along with threads, synchronization objects, IP sockets and named pipes. PTypes also offers message queues as an alternative method of thread synchronization. Its main `target audience is developers of complex network daemons, robots or non-visual client/server applications of any kind
標簽: multithreading alternative Portable includes
上傳時間: 2016-03-25
上傳用戶:lz4v4
用c++實現(xiàn)des算法 整體思路 用key.cpp 文件來產(chǎn)生秘鑰,用ringfuction.cpp文件來實現(xiàn)輪函數(shù),用main.c來實現(xiàn)加密和解密。有關(guān)函數(shù)見三個文件里的具體實現(xiàn)。
上傳時間: 2016-03-26
上傳用戶:fandeshun
編程題(15_01.c) 結(jié)構(gòu) struct student { long num char name[20] int score struct student *next } 鏈表練習(xí): (1).編寫函數(shù)struct student * creat(int n),創(chuàng)建一個按學(xué)號升序排列的新鏈表,每個鏈表中的結(jié)點中 的學(xué)號、成績由鍵盤輸入,一共n個節(jié)點。 (2).編寫函數(shù)void print(struct student *head),輸出鏈表,格式每行一個結(jié)點,包括學(xué)號,姓名,分數(shù)。 (3).編寫函數(shù)struct student * merge(struct student *a,struct student *b), 將已知的a,b兩個鏈表 按學(xué)號升序合并,若學(xué)號相同則保留成績高的結(jié)點。 (4).編寫函數(shù)struct student * del(struct student *a,struct student *b),從a鏈表中刪除b鏈表中有 相同學(xué)號的那些結(jié)點。 (5).編寫main函數(shù),調(diào)用函數(shù)creat建立2個鏈表a,b,用print輸出倆個鏈表;調(diào)用函數(shù)merge升序合并2個 鏈表,并輸出結(jié)果;調(diào)用函數(shù)del實現(xiàn)a-b,并輸出結(jié)果。 a: 20304,xxxx,75, 20311,yyyy,89 20303,zzzz,62 20307,aaaa,87 20320,bbbb,79 b: 20302,dddd,65 20301,cccc,99 20311,yyyy,87 20323,kkkk,88 20307,aaaa,92 20322,pppp,83
上傳時間: 2016-04-13
上傳用戶:zxc23456789
TSP算法 1.C語言TSP算法 2.2-OPT,orOPT攝動 3.Main單獨執(zhí)行
上傳時間: 2016-05-25
上傳用戶:jiahao131
用戶用main表示主函數(shù),每個c程序必有一個main函數(shù)。
上傳時間: 2016-06-27
上傳用戶:manlian
程序名稱: 數(shù)碼管顯示與鍵盤管理芯片ZLG7289的標準驅(qū)動程序(C51) 文件名: ZLG7289.h ZLG7289.C 說明: 本程序已經(jīng)調(diào)試通過 程序的可移植性很好,僅做少量修改就可以直接包含使用 程序占用資源少,僅使用4根必須I/O口線,不占用定時器等其它資源 所有全局性的標識符都以ZLG7289_開頭,不必擔心命名沖突問題 程序結(jié)構(gòu)清晰,思路明確,結(jié)合ZLG7289的數(shù)據(jù)手冊很容易理解 用法: 1、重新定義I/O接口 2、如果CPU的主頻比較高,則要適當調(diào)整延時,詳見ZLG7289_Delay()函數(shù) 3、在用戶程序中包含本頭文件 4、在main()函數(shù)的開始處添加初始化函數(shù)ZLG7289_Init() 5、以后在程序中可以直接使用ZLG7289的用戶指令集 6、讀取鍵盤掃描碼使用函數(shù)ZLG7289_Key(),查詢方式、中斷方式皆可
上傳時間: 2013-12-09
上傳用戶:zhangzhenyu
該頭文件配合key.c,在main函數(shù)中調(diào)用key.c,都文件中添加key.h,使軟件更清晰,一目了然
上傳時間: 2014-01-04
上傳用戶:yuanyuan123
用C語言編寫ARM程序時,執(zhí)行的第一條指令,并不在main函數(shù)中。當我們生成一個C程序的可執(zhí)行文件時,編譯器總是在我們的代碼前加一段固定的代碼——crt0.o,它是編譯器自帶的一個文件。此段代碼設(shè)置C程序的堆棧等,然后調(diào)用main函數(shù)。很可惜,在我們的裸板上,這段代碼無法執(zhí)行,所以我們得自己寫一個。這段代碼很簡單,只有3條指令。
上傳時間: 2016-11-25
上傳用戶:zhangyigenius
AMOP 0.3 is an Automatic Mock Object for C++. By using ABI and template techniques, it can simulate a pseudo-"Reflection" which is normally not support in C++ . The main differences between AMOP and other mock object library is that, users DO NOT need to implement the interface of the object which to mock...
標簽: techniques Automatic template simulate
上傳時間: 2013-12-31
上傳用戶:rocwangdp
用c語言實現(xiàn)的des加密解密程序源碼,包含一個des頭文件和一個des源文件以及一個main函數(shù)源文件
上傳時間: 2013-12-28
上傳用戶:lmeeworm
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1