Last active
April 10, 2020 18:47
-
-
Save ncweinhold/eff73934ba786973ff11a53bf56f0797 to your computer and use it in GitHub Desktop.
Trivial Example
This file contains 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
#include <iostream> | |
void display_hello_world() { | |
std::cout << "Hello World" << std::endl; | |
} | |
int main() { | |
std::cout << "Silly little example" << std::endl; | |
display_hello_world(); | |
return 0; | |
} |
This file contains 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
def display_hello_world(): | |
print("Hello World") | |
if __name__ == "__main__": | |
print("Silly little example") | |
display_hello_world() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment