little_tech
文章平均质量分 80
so
我喜欢生活,喜欢新技术,不想动的时候不出门,想动的时候玩电脑
展开
-
c中可变长参数的简单应用
/* * va_fun :replace the specify char to target string * * many : how many chars want to replace * s : original string * ...: first char ,first target string, second char , * second target string ... * */#include#includevoid va_f原创 2010-12-31 21:22:00 · 302 阅读 · 0 评论 -
不成熟的linux程序
cat 程序/** * Scat.c * Concatenate files and print on the stadard output * * Finish At Aug 19th,2009 * **/#include#include#include#include#include#include/* Max length of file name */#define MAX_NAME 100/* Name of command原创 2011-01-01 12:04:00 · 337 阅读 · 0 评论 -
gcc的一些扩展与例子
/* * ({ statement }) ;Return the value of statement * typeof() ;Return the type of expression * __extension__ ;Disable pedantic warnings * (void) (&_x == &_y) ;If X,Y is not the same type, * there will be a warning */#define min(X,Y) /原创 2010-12-31 21:39:00 · 342 阅读 · 0 评论 -
在windows里安装qca(Qt Cryptographic Architecture)
qt 加密包qca的安装过程原创 2011-03-19 10:31:00 · 3581 阅读 · 1 评论 -
PHP 生成直方图的类(仿Light Chart)
<?phpclass plchart { var $chart; var $data = array( 'title' => "title\ntest", 'group_count' => 4, //how many groups 'group_size' => 4, //size of each group '原创 2011-10-31 11:00:01 · 1192 阅读 · 0 评论