3 ms·
Shebang for C ... Almost
- tantalor 8y agoThis is easier to do as a little script that compiles and runs the code. /** foo.cc **/ #! compile-and-run-cc.sh int main() { ... } /** compile-and-run-cc.sh **/ // .cc file is passed in as first argument to this script You can get fancy with passing in compile or runtime args.