2014/06/10
MFC 프로그램에 Console 대화상자 띄우기
#ifdef _DEBUG
<
# ifdef UNICODE
# pragma comment(linker, "/entry:wWinMainCRTStartup /subsystem:console")
# else
# pragma comment(linker, "/entry:WinMainCRTStartup /subsystem:console")
# endif
#endif
#ifdef _DEBUG
cout << "test consol out by cout\n";
printf("test consol out by printf\n");
#endif // _DEBUG
Original Post : http://neodreamer-dev.tistory.com/727
Labels:
console
,
MFC
,
TistoryOldPost
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment