보통 디버깅용으로 테스트중인 프로그램 이외에 콘솔창을 하나 더 띄우고 싶을때가 있습니다. 이럴때 아래 코드를 한줄 쳐주면 콘솔창이 같이 뜨게 됩니다. #pragma comment(linker, "/entry:WinMainCRTStartup /subsystem:console")
댓글 없음: