Process terminated

my_name 21 Reputation points
2022-05-14T12:38:44.763+00:00

비주얼 스튜디오 2022에서 결과를 실행하면 "프로세스가 종료되었습니다" 라는 문구가 뜹니다.
이 문구를 없애기 위해 디버그>옵션>디버깅이 중지되면 자동으로 콘솔 닫기를 체크하면 결과화면이 볼 수 없을만큼 빠르게 꺼집니다.
그리고 프로젝트>속성>링커>시스템>하위시스템:콘솔 로 설정해도 마찬가지입니다.
"프로세스가 종료되었습니다" 라는 문구를 없앨 수 있는 방법이 없을까요?

When the results are executed in Visual Studio 2022, the phrase "The process is finished" appears.
To eliminate this phrase, when Debug > Options > Debugging stops, the result screen turns off as quickly as you can't see by checking Close Console automatically.
And it's the same if you set it to Project > Properties > Linker > System > Subsystem: Console.
Is there any way to get rid of the phrase "process has ended"?

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,520 questions
0 comments No comments
{count} votes

Accepted answer
  1. Minxin Yu 9,866 Reputation points Microsoft Vendor
    2022-05-16T07:39:20.797+00:00

    Hi, @my_name

    1. Check the button in Tools > Options > Debugging > General:

    202100-image.png

    2. press Ctrl +F5 or Debug -> Start Without Debugging.

    202158-image.png
    Best regards,

    Minxin Yu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


1 additional answer

Sort by: Most helpful
  1. Castorix31 81,461 Reputation points
    2022-05-15T15:06:09.683+00:00

    In C++, you can add at end :

    _getch();  
    

    (and the Tag is wrong, not related to windows-app-sdk)

    1 person found this answer helpful.