Skip to content

Instantly share code, notes, and snippets.

@dvalters
Created August 10, 2017 21:13
Show Gist options
  • Save dvalters/c93351fd7c835416b912f5bd9035be31 to your computer and use it in GitHub Desktop.
Save dvalters/c93351fd7c835416b912f5bd9035be31 to your computer and use it in GitHub Desktop.
Skip the editor, pipe code straight to compiler!
printf "#include <stdio.h> \n int main() { printf( \"Hello, World \\\n\" ); return 0; }" | gcc -x c -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment