2011年5月17日

MP3编码基本格式

摘要: [摘自CSDN评论,http://topic.csdn.net/u/20090616/13/2c543f8b-a73d-4cc8-9736-e61163d4a425.html]MP3编码基本格式:一、MP3文件头bits name comments--------------------------------------------------12 sync 0xFFF1 version 1=mpeg1.0, 0=mpeg2.02 lay 00 - reserved 01 - Layer III 10 - Layer II 11 - Layer I1 error protection 0=y 阅读全文

posted @ 2011-05-17 11:29 leothink 阅读(2501) 评论(0) 推荐(0) 编辑

2011年2月28日

ShareMemory的用法

摘要: [转自:http://tw.myblog.yahoo.com/noah_cjliao/article?mid=18&prev=-1&next=17]使用的時機:1.當你開發軟體需要兩支不同的*.exe共用某些資料時2.當兩支不同的*.exe需要傳送資料,且資料過大無法用SendMessage或PostMessage時3.當你希望讓某些資料一直存在直到程式結束時,且這資料可以讓其他程式讀取時ShareMemory的運作原理,它會建立一塊可以分享的記憶體,主要透過一個名稱用來尋找到該分享的記憶體,也就是說只要知道該分享記憶體的名稱就可以存取該記憶體中的資料..HANDLE hFil 阅读全文

posted @ 2011-02-28 16:42 leothink 阅读(1315) 评论(0) 推荐(0) 编辑

2011年2月12日

网络资源

摘要: 国外:http://www.torrentdownloads.net/老牌国外种子站 这里什么都有 禁片在这里不禁VC没有的电影百分之90这都有重要的是下载有速度www.bittorrent.am很大的种子站 和上面的有一比www.bittorrent.am更新的很快 电影比较全http://www.filestube.com/资源搜索引擎 很强大www.torrentz.com种子下载速度还行 比较大的种子站http://eztv.it/美剧更新最快最全的站 美剧一下你就知道http://tvunderground.org.ru/index.php美剧高清电驴索引站 可以和上面的媲美美剧可以 阅读全文

posted @ 2011-02-12 13:02 leothink 阅读(253) 评论(0) 推荐(0) 编辑

2011年1月27日

查找算法——二分查找

摘要: [代码]Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-- 1 #include stdio.h 2 3 int main(int argc, char** argv) 4 { 5 int array[] = {1, 3, 5, 24, 35, 45, 67, 73, 76, 78, 98, 99, 200, 201, 202, 455, 3445}; 6 int length = sizeof(array)/sizeof(int); 7 in 阅读全文

posted @ 2011-01-27 11:49 leothink 阅读(202) 评论(0) 推荐(0) 编辑

排序算法——合并排序

摘要: [代码]Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-- 1 #include stdlib.h 2 3 void merge2(int array[], int low, int mid, int high) 4 { 5 int i, k; 6 int *temp = (int *)malloc((high - low + 1) * sizeof(int)); 7 int begin1 = low; 8 int end1 = mid; 9 阅读全文

posted @ 2011-01-27 11:48 leothink 阅读(174) 评论(0) 推荐(0) 编辑

排序算法——选择排序

摘要: [代码]Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-- 1 #include stdio.h 2 3 int main(int argc, char** argv) 4 { 5 int nums[] = {1, 423, 43,534,2,4,7,8,9,54,10,34,45}; 6 int length = sizeof(nums)/sizeof(int); 7 int i,j,min,temp; 8 9 for (i = 0; i 阅读全文

posted @ 2011-01-27 11:48 leothink 阅读(114) 评论(0) 推荐(0) 编辑

排序算法——插入排序

摘要: [代码]Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-- 1 #include stdio.h 2 3 void insertion_sort(int array[], unsigned int first, unsigned int last) 4 { 5 int i, j, k; 6 int temp; 7 8 int start = first; //直接用first在内层循环会产生未知错误 9 10 for (i = start + 阅读全文

posted @ 2011-01-27 11:43 leothink 阅读(152) 评论(0) 推荐(0) 编辑

排序算法——冒泡排序

摘要: [代码]Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-- 1 #include stdio.h 2 3 int main(int argc, char** argv) 4 { 5 int nums[] = {1, 423, 43,534,2,4,7,8,9,54,10,34,45}; 6 int length = sizeof(nums)/sizeof(int); 7 int i = 0, j = 0, temp = 0; 8 9 prin 阅读全文

posted @ 2011-01-27 11:36 leothink 阅读(203) 评论(0) 推荐(0) 编辑

2010年12月17日

Android adb 命令

摘要: Through ADBPull apps off phone onto computerCode:[代码]Push apps back to phone from the computerCode:[代码]Delete existing apps on SDCode:[代码]View the threadscode:[代码] 阅读全文

posted @ 2010-12-17 14:47 leothink 阅读(433) 评论(0) 推荐(0) 编辑

2010年12月9日

pdu长短信格式解释

摘要: 阅读全文

posted @ 2010-12-09 10:04 leothink 阅读(2386) 评论(0) 推荐(0) 编辑

导航