summaryrefslogtreecommitdiff
path: root/structures/run.sh
blob: f076a51c5361c0e5f671d36eadd8af2c0edb2d46 (plain)
1
2
3
4
5
6
7
#!/bin/sh

name="${1%%.*}"
g++ -Wall -o $name.out $name.cpp
./$name.out
rm $name.out