Created
September 13, 2017 20:52
-
-
Save JellyWX/291cab38d61282d9de4f607f586f7cd9 to your computer and use it in GitHub Desktop.
C++ compile and run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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