myriad/languages/cpp/run.sh
2019-07-09 05:19:41 -04:00

2 lines
77 B
Bash

printf %s "$1" > program.cpp
g++ program.cpp -o program && ./program || true