- 博客(5)
- 收藏
- 关注
原创 SICP exercise 1.43
书的网页提供的Complete Code中没有. 所以加上Exercise 1.43. If f is a numerical function and n is a positive integer, then we can form the nth repeated application of f, which is defined to be the function whose val
2007-06-13 17:28:00
456
原创 quake3 code fragment [1]
#define QDECL __cdecl static int (QDECL *syscall)( int arg, ... ) = (int (QDECL *)( int, ...))-1; void dllEntry( int (QDECL *syscallptr)( int arg,
2007-06-09 23:35:00
564
原创 Duff's Device
这是个很棒的迂回循环展开法, 由Tom.Duff在Lucasfilm时所设计 它的“传统”形态, 是用来复制多个字节:. registern=(count+7)/8;/**//*count>0assumed*/switch(count%8)...{case0:do...{*to=*from++;case7:*to=*from++;case6:*to=*from++;case5:*to=
2007-05-28 21:21:00
457
原创 Linux上好玩的命令
Linux下的有趣命令newsmth//yes:输出一串y,有时可以用来对付很多y/n选择的应用banner:打印字符标题,就是用字符拼出大字来ddate:把日历转成什么其他历,Today is Sweetmorn, the 63rd day of Discord in the YOLD 3173fortune:输出一句话,内容有很多种,据说有唐诗宋词cal 9 1752:打印日历,不过那一个
2007-05-25 14:52:00
728
转载 定时器的操作
UINT SetTimer(HWND ,//接受定时器信号的窗口 UINT , //定时器代号 UINT , //时间间隔 TIMERPROC //处理响应函数);BOOL KillTimer(int 定时器代号);发送WM_TI
2007-05-16 14:03:00
446
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人