본문 바로가기
개발일지/2023_GameProgramming(Team)

[2023_GameProgramming(Team)] C++, WINAPI로 WebSite와 FileExplorer열기

by DDongYeop 2023. 11. 30.
728x90

이 프로젝트를 기획하며 팀장님과 가장 중요하게 여겼던 부분이 바로 WINAPI런타임시 WebSite를 열고, FileExplorer을 여는 것이다 !!!

 

사실 많이 어려울거라고 생각했는데 찾아보니 많이 나오더라.. 

 

이렇게 WebSite를 열고

#include <iostream>

int main()
{
	system("explorer https://github.com/DDongYeop");
}

 

 

이렇게 FileExplorer을 연다.

#include <iostream>

int main()
{
	system("explorer D:\\Dev\\GitHub\\2023_GamePrograming_TeamProject");
}

 

 

솔직히 생각보다 훨씬 쉽고, 그냥 아에 똑같더라.. 이렇게 쉬울줄은 몰랐지 !!!

 

 

아래는 결과물이다. 단순 함수로만 만들어두고 Init에서 실행시킨건데,

나중에 다 합치고 하면서 연결해야겠다 ~

728x90

댓글