|UMBC CMSC 201 Fall '02||CSEE | 201 | 201 F'02 | lectures | news | help|
You know by now that getting your code to compile is less than half the battle. If your program is acting funny, there are a few things you can do. One is to use probes (printf statements).
Because output to stdout is buffered, printf() statements must contain a newline character or they will not always give you an accurate picture of your program execution if the program stops suddenly, as in a segmentation fault or bus error.
Monday, 11-Nov-2002 17:40:25 EST