Question 16.5

This program runs perfectly on one machine, but I get weird results on another. Stranger still, adding or removing debugging printouts changes the symptoms...


Lots of things could be going wrong; here are a few of the more common things to check:

Proper use of function prototypes can catch several of these problems; lint would catch several more. See also questions 16.3, 16.4, and 18.4.


Read sequentially: prev next up top


This page by Steve Summit // Copyright 1995 // mail feedback