Where do i find the results to printf?

Hey guys,

Ive come across code that has printf to ‘print’ results to the (log?)

The only logs i can think of are in console but they dont seem to appear there.

Im pretty sure im missing something basic.

Im running on osx btw.



when it is used like this:
int sum = 2010;
printf(“Year: %i\n”, sum);

It should print into Run Log:
“Year: 2010”

The “Run Log” pops up, when you “Run Executable” or “Build and Run” in Xcode, if not, have a look into Debug-Menu.

The “Run Log” looks like in the screenshot…


Ahh there we go.

Thanks for that!