I have MinGW as a compiler and this is the code I currently use to execute my C program
g++ "$(FULL_CURRENT_PATH)" -o "$(CURRENT_DIRECTORY)\$(NAME_PART).exe"
cmd /c "$(CURRENT_DIRECTORY)\$(NAME_PART).exe"
Never mind i found what i was looking for and i wanted that my program's exe file ran and shows me the output so here is the code i you want
cd "$(CURRENT_DIRECTORY)" g++ "$(FILE_NAME)" -o $(NAME_PART) -march=native -O3 NPP_RUN $(NAME_PART)
just don't forget to put return 0; AFTER getch();
Thanx for editing my answer. Much appreciated