MinGW
For compiling and running using MinGW:npp_save
cd "$(CURRENT_DIRECTORY)"
gcc -o "$(NAME_PART).exe" "$(FULL_CURRENT_PATH)"
"$(NAME_PART).exe"
Microsoft Visual C
For compiling and running using Visual C 2019:npp_save
cd "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build"
vcvarsall.bat x64 && cl "$(FULL_CURRENT_PATH)" /Fo$(CURRENT_DIRECTORY)\ /link /out:"$(CURRENT_DIRECTORY)\$(NAME_PART).exe"
cd $(CURRENT_DIRECTORY)
"$(NAME_PART).exe"
More info on Visual C vcvars scripts:
https://docs.microsoft.com/
Turbo C++
For compiling and running using Turbo C++:npp_save
cd "c:\tc\bin\TCC.exe" "$(CURRENT_DIRECTORY)\$(NAME_PART).cpp"
cd $(CURRENT_DIRECTORY)
"$(NAME_PART).exe"
Borland C++
For compiling and running using Borland C++:cd "C:\BORLAND\BCC55 "$(CURRENT_DIRECTORY)\$(NAME_PART).cpp"
cd $(CURRENT_DIRECTORY)
"$(NAME_PART).exe"
No comments:
Post a Comment