컴퓨터 과학 & 영상처리 관련/Visual Studio
MFC에서 콘솔 사용 stdafx.h에 추가할것
꺄뜨르
2013. 11. 22. 14:58
#pragma comment(linker, "/entry:WinMainCRTStartup /subsystem:console")
winapi 환경일 경우AllocConsole() 함수를 호출하여 콘솔을 띄웁니다