PDA

View Full Version : How to write something to Console Log window (in XCode 2.4)?




gtthang
Jan 2, 2007, 10:54 PM
Hi all,

I'm using Carbon (XCode 2.4) to develop a application on Mac OS X, I sometime want to write values of variables or something to Console Log window for tracing but I don't know how to do this? Which funtion in Carbon should I use?

Thanks very much.



kainjow
Jan 2, 2007, 11:27 PM
printf() should do it.