add compile_and_run_script

This commit is contained in:
2021-01-01 18:09:06 +01:00
parent 4c9ad7e81e
commit 5f37cc828f
2 changed files with 3 additions and 1 deletions

1
.gitignore vendored
View File

@@ -2,3 +2,4 @@
!*/*.cpp
!*/*.h
!.gitignore
!*/*.sh

View File

@@ -0,0 +1 @@
g++ -g main.cpp -lpthread && ./a.out