[熱情]

콘솔창 띄우기 본문

카테고리 없음

콘솔창 띄우기

rootkaien 2014. 4. 9. 16:52

mfc를 하다가 콘솔에 printf 할때.. 사용..


#include 
using namespace std;

#include 

#define _CONSOLE_DEBUG_MODE

#ifdef  _CONSOLE_DEBUG_MODE
#pragma comment(linker, "/entry:WinMainCRTStartup /subsystem:console")
#endif
Comments