Share via

Error code -1073741819 is shown when running a .exe file in cmd

浩然 王 0 Reputation points
2023-06-28T03:34:38.7533333+00:00

I just installed MSYS2 to compile cpp file on my laptop. But when I tried the basic HelloWorld code both Windows Terminal and terminal in VS Code showed no result. However on Azure Cloud Shell, the same codes run smoothly.

I typed in

C++Copy

echo %ERRORLEVEL%

to see what's wrong, Windows Terminal returned -1073741819.

Is there any set-up mistake?

Developer technologies | C++
Developer technologies | 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.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.