Skip to content

Instantly share code, notes, and snippets.

@whyrusleeping
Created December 3, 2012 07:32
Show Gist options
  • 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