CR look.. the "which driver to use" console message is just a bit of code that happens to be in the EXAMPLES. It is NOT automatically used everytime you code your own projects.
You DONT even need a console window just a blank screen in your chosen renderer (hint - just pass the EDT_ you want to the device creation and do NOT ask the user).
this is an extremely basic question but you should mess around with the source code some more until you are used to what you need exactly (Minimum) for an app to use irrlicht. (not much).