execute c source files

from blog blog, | ↗ original
execute c source files tl;dr: add //usr/bin/gcc "$0" && exec ./a.out "$@" to the first line of your example.c make executable: chmod +x example.c run it: ./example.c I’ve a folder called lab for those quick ‘n’ dirty programs to test some language features or other interesting behavior. While golang programs can be easily executed via go run and...