- 博客(5)
- 资源 (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
1232
原创 不成熟的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
377
原创 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
389
原创 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
339
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅