Skip to content

Instantly share code, notes, and snippets.

@JellyWX
Created September 13, 2017 20:52
Show Gist options
  • Save JellyWX/291cab38d61282d9de4f607f586f7cd9 to your computer and use it in GitHub Desktop.
Save JellyWX/291cab38d61282d9de4f607f586f7cd9 to your computer and use it in GitHub Desktop.
C++ compile and run
#!/bin/sh
#$ main.cpp $1
g++ -std=c++11 $1 -o mkcpp_main
./mkcpp_main
rm mkcpp_main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment