I currently have a JUCE GUI application. But now I have to add a Console. I.e. I need to print text using printf. I cannot use DBG() (explanation see below).
Is there a way to do this in JUCE? The Introjucer only lets you choose between either GUI or Console application. But I need both.
If you wonder, why I need to use printf: I am writing an OpenCL application. And the only way to debug OpenCL, which I know of at the moment, is using “printf” in the OpenCL kernel. The printf output from the OpenCL is shown on the console.
I am on Juce 4.2.4, VS 2015 and Win 7.