Printing to the Irrlicht Console?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
brcolow

Printing to the Irrlicht Console?

Post by brcolow »

How can I print my own text to the Irrlicht console window?
VPB
Posts: 36
Joined: Sat Apr 10, 2004 8:02 am

Post by VPB »

ILogger* logger = device->getLogger();

logger->log("The text u want to write");
Honkey Kong
Posts: 16
Joined: Mon Jan 12, 2004 4:31 am
Location: USA
Contact:

Post by Honkey Kong »

Something simple like:

Code: Select all

printf("The text you want to write goes here.");
Works too, if you're just wanting to output to the console and not log to a file.
Image
warui
Posts: 232
Joined: Wed Apr 14, 2004 12:06 pm
Location: Lodz, Poland
Contact:

Post by warui »

Or just:

Code: Select all

#include <iostream>
//...
cout << "foo";
Tomasz Nowakowski
Openoko - www.openoko.pl
Post Reply