Skip to content

mfhholmes/hourofcode

Repository files navigation

#Hour of Code

Some example "hello world" programs in various languages

To run the examples:

##Golang To run from the command prompt, just: ./hourofcode.go -n whatever

To compile to an executable: go build -o hourofcode

then (on Linux) chmod +x hourofcode

then: ``./hourofcode -n whatever` to run

##Javascript you'll need to run npm install stdio first

then just ./hourofcode.js -n whatever

##Java compile to a class with javac hourofcode.java

then run using java -cp . hourofcode -n whatever

##Python just hourofcode.py -n whatever

##Ruby again just hourofcode.rb whatever

About

hello world done in a variety of languages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors