Skip to content

Commit f9c29ac

Browse files
authored
GNU C++ compiler script to be used with Neovim
1 parent 772bbc2 commit f9c29ac

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

gpp.bat

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
@echo off
2+
set ext=.cpp
3+
if %1.==. goto end
4+
goto compile
5+
6+
:compile
7+
g++ -std=c++20 -o %1 %1%ext% && %1
8+
9+
:end
10+
echo:

0 commit comments

Comments
 (0)