in reply to printf in if-statement
Nothing jumps out at me as being wrong in your code, but I do have some stylistic things and best practices you might want to consider...
OK, enough of my opinions.
So the only real question I have is, are you sure that block of code is being reached? I assume you're seeing the printouts to the console, but I just thought I would ask.
Update: I reread the question and saw that the prints are showing up on stdout. I'm out of ideas...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: printf in if-statement
by Utrecht (Novice) on Apr 21, 2009 at 14:21 UTC | |
by almut (Canon) on Apr 21, 2009 at 14:49 UTC |