2008 November 28th Friday (十一月 二十八日 金曜日)

   There is a prolog program.  Lets look at it again.%% exerciseassign(X, Y) -->    left(X), [:=], right(Y), [;].left(X, Start, End) :-    [ X | E...

2008-11-28 20:52:00

阅读数:363

评论数:0

2008 November 27th Thursday (十一月 二十七日 木曜日)

   Today I modified a bug in my china language.  This bug made a mistaken to report a IO error when the lexical parser reached at the end of a file.I...

2008-11-28 20:51:00

阅读数:514

评论数:0

2008 November 26th Wednesday (十一月 二十六日 水曜日)

   I have to pay more attention to learn C# and ASP.Net.  I have a plan to develop a script programming language, it is called "china".Alth...

2008-11-28 20:50:00

阅读数:471

评论数:0

2008 November 25th Tuesday (十一月 二十五日 火曜日)

   I am going to implement a simply script language.  I am going to get some inspiration from lua.  However, the scripte will beeasier than lua.  The...

2008-11-28 20:49:00

阅读数:462

评论数:0

2008 November 24th Monday (十一月 二十四日 月曜日)

   I almost forgot how to implement a vararg function in C programming language.  There is a example.#include    /* minprintf: minimal printf with va...

2008-11-28 20:48:00

阅读数:528

评论数:0

2008 November 21th Friday (十一月 二十一日 金曜日)

   I have to learn C# due to the need of my company.  If I resist it, may I be able to be fired.  Now, under the circumstanceof the economic crisis, ...

2008-11-28 20:47:00

阅读数:606

评论数:0

2008 November 20th Thursday (十一月 二十日 木曜日)

   I got a tetris game in Erlang from the Erlang offical site.  The example has some bugs, but it is interesting.%% start the timer at 750 ms%% then ...

2008-11-28 20:45:00

阅读数:574

评论数:0

2008 November 19th Wednesday (十一月 十九日 水曜日)

   The below prolog program had puzzled me for days.  This morning I got a inspiration.  I made a mistake.%% exerciseassign(X, Y) -->    left(X), ...

2008-11-28 20:43:00

阅读数:540

评论数:0

2008 November 18th Tuesday (十一月 十八日 火曜日)

   We will now tamper with three lines of code that are common to all the Windows programs weve created so far in this book. The codeis the standard ...

2008-11-28 20:42:00

阅读数:489

评论数:0

2008 November 17th Monday (十一月 十七日 月曜日)

   Erlang is an interesting programming language.  Every light process in erlang is separated, they must communicate with messages.  So, send and rec...

2008-11-28 20:41:00

阅读数:540

评论数:0

2008 November 14th Friday (十一月 十四日 金曜日)

   I found out a bug in the LZMA SDK for Java.  I dont know whether the author test it.  When I run it after compiled it, Java VM tell me an exceptio...

2008-11-28 20:39:00

阅读数:410

评论数:0

2008 November 13th Thursday (十一月 十三日 木曜日)

   The WM_TIMER messages are similar to WM_PAINT messages in another respect. Windows does not keep loading up the message queue with multipleWM_TIME...

2008-11-28 20:38:00

阅读数:534

评论数:0

2008 November 12th Wednesday (十一月 十二日 水曜日)

   A window procedure receives mouse messages whenever the mouse passes over the window or is clicked within the window,even if the window is not act...

2008-11-28 20:37:00

阅读数:485

评论数:0

2008 November 11th Tuesday (十一月 十一日 火曜日)

 In the four keystroke messages (WM_KEYDOWN, WM_KEYUP, WM_SYSKEYDOWN, and WM_SYSKEYUP), the wParam message parameter contains thevirtual key code, an...

2008-11-28 20:36:00

阅读数:542

评论数:0

2008 November 10th Monday (十一月 十日 月曜日)

 For all mapping modes, Windows translates window (logical) coordinates to viewport (device) coordinates bythe use of two formulas,  xViewport = (xWi...

2008-11-28 20:34:00

阅读数:482

评论数:0

2008 October 31th Friday (十月 三十一日 金曜日)

 Saving Device Contexts  Normally when you call GetDC or BeginPaint, Windows gives you a device context with default values for all the attributes. A...

2008-11-12 19:29:00

阅读数:642

评论数:1

2008 October 29th Wednesday (十月 二十九日 水曜日)

 %datalove(zhangxueyou, wanfei).love(zhangxueyou, zouhuimin).love(wanfei, xietinfen).love(zouhuimin, zhangxueyou).love(xietinfen, wanfei).love(xietin...

2008-11-12 19:28:00

阅读数:546

评论数:0

2008 October 30th Thursday (十月 三十日 木曜日)

 WM_CREATE  WndProc receives this message while Windows is processing the CreateWindow function in WinMain. That is, when calling CreateWindow,Window...

2008-11-12 19:28:00

阅读数:582

评论数:0

2008 October 24th Friday (十月 二十四日 金曜日)

   I am reading a book -- Doom Apocalypse.  This is a saga of the id software.  Two John are heroes in this story.  John Camark is a genius.John Rome...

2008-11-12 19:27:00

阅读数:251

评论数:0

2008 October 27th Monday (十月 二十七日 月曜日)

   I havent know how to love myself body.  From John Camark, from a Chinese medical book, from this cold, I known a mistake, which is usuallyignored ...

2008-11-12 19:27:00

阅读数:431

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭