프로그래밍 언어/C++

C++ 콘솔창 띄우지 않게 안보이게 하기

copynull 2022. 8. 13. 21:02
#include <iostream>
#include <Windows.h>
 
int main()
{
	ShowWindow(GetConsoleWindow(), SW_HIDE);
 
 
	// .......  코드 작성
 
	MessageBox(NULL, L"test", L"test", MB_OK);
 
	// .......  코드 작성
 
 
	return 0;
}