I'm trying to implement some basic development-time sanity checks on a
multi-platform app, and for the MFC target I can't seem to get anything
out of cout, clog, or cerr. For example:
std::cout << "this never shows up anywhere" << std::endl;
I've verified that the proper code is getting generated, but the output
never shows up in the debug log (debugging remotely from a Mac). If I
invoke the app from a Command Prompt under Windows, nothing shows up either.
I understand that Windows GUI apps are initialized without a console, so
I've tried calling ::AllocConsole(), but that makes no difference. Am I
supposed to be doing something special to enable console output?