Win32 API / MFC

Win32 에서 콘솔 띄우는 법

K :) 2009. 5. 8. 10:03

stdafx.h 나 stdafx.cpp
이런곳이나 아니면 main 함수 위에

 

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

이 글은 스프링노트에서 작성되었습니다.