본문 바로가기

Programming/C++

win32 프로젝트에서 콘솔창(dos) 띄우기

헤더 설정하고

#include <stdio.h>


// 도스창 띄움

AllocConsole();

freopen( "CONOUT$",  "wt", stdout);


끝!

'Programming > C++' 카테고리의 다른 글

비쥬얼 스튜디오 디버깅 팁( Visual Studio Debugging Tips )  (0) 2013.04.10
try – catch, throw  (0) 2010.01.05
Effective C++ 정리글(펌)  (0) 2009.11.21
비트 연산자  (0) 2009.11.21
namespace Declaration  (0) 2009.11.20