Game Development Community

Printing to the console from c++?

by Nic Biondi · in Technical Issues · 01/30/2004 (1:05 am) · 4 replies

It seems printf doesnt make it to the console. What function can I use to debug/ print out in Torque.(fps)

#1
01/30/2004 (1:16 am)
I think I found the answer, it is
Con::printf("testing");
#2
01/30/2004 (9:06 am)
Nic, could you start to pay attention to where you post your stuff ? ie Torque stuff goes in Torque forums, and if it involves C++ code from TGE, in the private SDK forums
Etc.
#3
01/30/2004 (9:24 am)
There's also Con::warnf() and Con::errorf(), which output slightly different colored text (grey and red respectively).

Yes, Nic is right. Torque forums for Torque posts, please. :)
#4
01/30/2004 (1:35 pm)
Yeah, I have begun to put my posts in the right place! Just took me a while to figure it out.