posted @ 2007-03-18 04:32
随笔分类 - c
摘要:// w32.cpp : 启动EPSnap , 模拟按键 win+1 , 达到使EPSnap固定捕捉等目的。// 哦也 , 2007-03-18 02:58:51 终于完成第一版 // v0.01 , 2007-03-18// gudai (异域苍穹)#include "stdafx.h"#include #include #include #include voi...
        阅读全文
        
摘要:处理媒体文件的工具ffmpeg2006-09-03 10:40:45 bailing 用c++编译器编译win下的版本 ,十分麻烦,但是绝对可行。 msys是一个模拟Linux运行环境的东西,在它下面可以运行configure等编译安装命令。这样我们就可以 在windows下编译跨平台的c程序源代码了。 下载 mingw , msys , bash , 这3个都在sourceforge.ne...
        阅读全文
        
            posted @ 2006-09-09 15:33
摘要:错误:test.c:22: error: conflicting types for 'urlencode'test.c:18: error: previous implicit declaration of 'urlencode' was here 原来是因为没有先做函数声明,而函数位于main()之后。在main函数前声明了函数原型后,一切ok.
        阅读全文
        
            posted @ 2006-07-26 14:54
摘要:看php的源码,在url.c的php_url_encode里看到了这个单词#ifndef CHARSET_EBCDIC查google BCD (Binary Coded Decimal) 是一種以二進制數字代表十進制數字的方法。它將每個十進制數目字 (0 1 2 3 4 5 6 7 8 9) 以一個二進制數字來代表,通常用 4 個位元來代表一個十進制數目字。例如 6 是 0110,7 是 0111...
        阅读全文
        
            posted @ 2006-07-26 14:53
摘要:php源码研究-explode函数追踪 2006-07-21 17:30:10 bailing 我要把explode函数的功能分离出来 ext/string.c里有函数PHPAPI void php_explode(zval *delim, zval *str, zval *return_value, int limit) PHPAPI是什么?这个以后找到了再说 zval是什么?在/...
        阅读全文
        
            posted @ 2006-07-24 10:23
摘要:测试环境:freebsd 补上urldecode #include #include #include #define safe_emalloc(nmemb, size, offset) malloc((nmemb) * (size) + (offset)) char *test( char * src); char *urlencode( char *in_str ); c...
        阅读全文
        
            posted @ 2006-07-19 15:21
摘要:程序运行总是提示 segmentation fault (core dumped)是什么错啊? 05/14/05 10:26 AM Edit Reply Quote duckybsd Site Admin http://linux.computersci.net/forum/showflat.php?Cat=&Board=UBB24&Number=3013&page...
        阅读全文
        
            posted @ 2006-06-27 09:27
 
                    
                 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号