My publisher has authorized me to release a free sample chapter from my book. They let me pick one, and I decided to go with the one on global variables. If this is a success, a couple more chapters may be released one way or another, so I'd welcome input on which the other best topics would be...
Software Timing Loops
Once in a while I see someone using code that uses a timing loop to wait for some time to go by. Code might look like this:// You should *NOT* use this code as-is!#define SCALE 15501 // System-dependent time scaling factor void WaitMS(unsigned long ms){ unsigned long counter = ms...