I have some C code in a static library that I'm compiling into an iPhone app. I'd like to print some debug messages to the console; is there something like NSLog I should use? I'm guessing NSLog only works for the Objective-C parts of the program.
EDIT: fprintf(stdout, fmt…) and fprintf(stderr, fmt…) don't work either.. any idea why they don't? Should they work?
Best Answer
you can always do the classic: