This repository contains examples of the classic first program for any language; one which prints "Hello, World!" to a console.
Each folder contains instructions and code for the language corresponding to the folder name.
Do you know a language that isn't in the repo? Help us out by adding it!
- Fork this repository and clone it to your local machine (https://help.github.com/articles/fork-a-repo/)
- Create a folder corresponding to the name of the language you're adding
- Add the following files and folders:
- README.md - this file contains instructions for building and running your code
- .gitignore - this file prevents junk from being added to the repo. Find the file for your language here: https://github.com/github/gitignore
- src/ - this folder contains your source code files
- Update your README.md with the following sections:
- Environment Setup - include software to install, settings to change, etc.
- Building/Compiling - instructions for turning source code into an executable artifact (if applicable)
- Running - instructions for running the executable (making it print 'Hello, World!')
- Commit and push your changes to your fork of the repo (https://help.github.com/articles/adding-a-file-to-a-repository-using-the-command-line/)
- Open a pull request (https://help.github.com/articles/creating-a-pull-request/)