It doesn't execute the command when I type it
enter image description here
If the .exe file, that you want to execute, is in the current directory, you have to type
./command
Look for documentation for the environment variable PATH if you do not want to type ./ in front of your command.
PATH
./
There's nothing preventing execution of .exe files in msys-git/git-for-windows, which you seem to be using.
.exe
Your program oop1does not seem to output anything.
oop1
If the .exe file, that you want to execute, is in the current directory, you have to type
Look for documentation for the environment variable
PATH
if you do not want to type./
in front of your command.