Programming/C++

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

어둠을 가르는 카리스마 2012. 7. 3. 22:50

헤더 설정하고

#include <stdio.h>


// 도스창 띄움

AllocConsole();

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


끝!