Created
February 27, 2021 15:36
-
-
Save reishoku/d76279c029fca8210fb70b44e4002f6f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
g++-10 -x c++ -o program - << EOF | |
#include <iostream> | |
int main(void){ | |
std::cout << "Hello, world!" << std::endl; | |
} | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment