Skip to content

Instantly share code, notes, and snippets.

@ncweinhold
Last active April 10, 2020 18:47
Show Gist options
  • Save ncweinhold/eff73934ba786973ff11a53bf56f0797 to your computer and use it in GitHub Desktop.
Save ncweinhold/eff73934ba786973ff11a53bf56f0797 to your computer and use it in GitHub Desktop.
Trivial Example
#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;
}
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