compiler-discord/docker/c/run.sh

7 lines
117 B
Bash
Raw Normal View History

mkdir "$COUNT" && cd "$COUNT"
2019-03-15 02:32:39 +01:00
echo "$1" > program.c
gcc program.c -o program && ./program
cd .. && rm -rf "$COUNT"