Friday, March 7, 2008

Standard predefined macros


Came across this by accident today -- I guess I would've known about this stuff and saved a whole lot of trouble in the past year if I took a proper course in C programming. Oh well.

These are really useful macros for debugging and other purposes in writing C programs, for example the __FILE__ and __LINE__ macros will provide the location of a statement, and it is done completely automatically by the preprocessor, which saves a WHOLE lot of work for debugging -- exactly what SPARX needs.

Once again, RTFM...

Wednesday, March 5, 2008

安全背帶扣不安全

安全背帶扣有多安全?如果買到瑕疵品,那真的一點都不安全。就在剛剛,我的寶貝fender差點從我懷中摔到地上,因為應該要很安全的安全背帶扣竟然鬆脫了!


吉他的安全背帶扣,靠的就是圖中左手邊三個環狀的東西夾住背帶,再靠右手邊柱狀物的卡榫卡住吉他上的釘子。

結果柱狀物上的卡榫竟然縮進去了,真的是瑕疵品!有在用這玩意兒的人要小心呀!