Skip to content

Instantly share code, notes, and snippets.

@whyrusleeping
Created December 3, 2012 07:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save whyrusleeping/4193408 to your computer and use it in GitHub Desktop.
Save whyrusleeping/4193408 to your computer and use it in GitHub Desktop.
Implicit Compilation (aka, shell scripting fun)
#if 0
#!/bin/sh
g++ compins.cpp -o compins
./compins
exit
#endif
#include <iostream>
using std::cout;
int main()
{
cout << "hello world\n";
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment