Skip to content

Instantly share code, notes, and snippets.

@irrenhaus3
Last active June 2, 2016 08:01
Show Gist options
  • Save irrenhaus3/10d8c8ddc6c6135065d68c185370cf05 to your computer and use it in GitHub Desktop.
Save irrenhaus3/10d8c8ddc6c6135065d68c185370cf05 to your computer and use it in GitHub Desktop.
#include <iostream>
#include <cstdlib>
/**
* Compile and run. On a linux system with the output file named "GE" and
* invoked by typing ./GE in the bin. directory, the output is
* ./GE
**/
int main()
{
std::cout << std::getenv("_") << "\n";
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment