It seems you’re not very familiar to VisualStudio You can try to create a new win32 project without cocos2d, File~~>New~~>Project~~>Win32~~>Win32 Console Application. No matter you choose “Windows application” or “Console application”, printf/fputs doesn’t output the string into VisualStudio output window.
I write a code snip to show this
You can see that, printf & fputs output the string into a new console window, while OutputDebugStringA writes it into VS output window. CCLOG is using OutputDebugStringA to do this, too.
In your situation, my suggestion is simply hack the source, just write codes like
#define printf OutputDebugStringA
#define fputs(string, des) OutputDebugStringA(string)
then include this header file in your cpp files. Doing this to replace the entry of printf/fputs. But take care there must be only fputs(“string”, stdio) in your code, avoid to hack fputs(“string”, pFile) if the code really want to write file.
Hope this answer may help you