-2
I followed 2 tutorials, installed the Vscode and the compiler Mingw, put all necessary extensions, C/C++ Compiler run, among others. And I put the Mingw path in the PATH of the environment variables. Sometimes the code compiles, sometimes not, but when it compiles, it does not execute. The message that is in the print of the question appears. He says that he is not finding the file, but he is there.
Edit: When I run without the ". " it appears here. do you know how to solve? And when I run with the ". " actually appears that it is not supported on my operating system. it is from Linux same.
PS C: Desktop Users Language > test.exe
test.exe : The term 'test.exe' is not recognized as cmdlet name, function, script file or operable program. Check the spelling of the name or, if a path has been included, see if the path is correct and try again. In line:1 character:1 + test.exe + ~~~~~~~~ + Categoryinfo : Objectnotfound: (test.exe:String) [], Commandnotfoundexception + Fullyqualifiederrorid : Commandnotfoundexception
Suggestion [3,General]: The test.exe command was not found, but exists in the current location. By default, Windows Powershell does not load commands from the current location. If you trust this command, type: ". test.exe". See "get-help about_Command_Precedence" for more details.
It should not be . /test.exe instead of . /"test,exe" ?
– Fábio Morais
Yes, it is . /test.exe I put so and not with comma, with comma gives error
– Matheus Forlán