October 2006
BGI for Windows
by YukuanMarkemulation of Borland Graphic Interface library for MS-Windows (C language)
July 2006
Random Number Generator Source Code
by YukuanMarkThis is an ANSI C library for multi-stream random number generation. The use of this library is recommended as a replacement for the ANSI C rand() and srand() functions, particularly in simulation applications where the statistical 'goodness' of the rando
March 2006
Pseudo random number generators
by YukuanMarkThis page contains software libraries for some very good random number generators.
More ways to map memory
by YukuanMarkThis is the third in a series of articles on accessing memory-mapped device registers using C and C++. In my previous column (November 2004), I discussed how small variations in memory-mapping techniques might lead to differences in the efficiency of comp
Place volatile accurately
by YukuanMarkIn my last column, I advised you to use the volatile qualifier, but use it judiciously.1 This month, I'll present some specific situations to show why and how you should think carefully about exactly where to place the volatile keyword in declarations.
Jserv's blog: 初等概念
by YukuanMark標題的「初等」取自數學的「初等代數」,也就是說 C/C++ 中處於「奠基」的「基本」,至於這些項目是否「基本」,實在見仁見智。在我看來,C Programming Language 本來就是用來寫作業系統,所以
1
(6 marks)