
May 24th, 2003, 12:27 PM
|
|
Contributing User
|
|
Join Date: May 2003
Posts: 53
Time spent in forums: < 1 sec
Reputation Power: 11
|
|
|
C debugging problem
Hi, I have problem when trying to output something in the C code. It seems that using printf, the output doesn't want to come out when I try to find the place of error even when it has passed the printf function. However, when I try to use perror, the message can come out. Can anyone help me the better way to debug a program in C? If I want to display the value of some variable, what function should I use if the program still got errors? Thanks. Hope to hear quick response.
|