Home > Tutorials > Hello World

Hello World

Ok, well we all know it’s inevitable, my very first post has to be a hello world example, so let her rip….


PHP

<? echo 'Hello World!'; ?>

Java

public class HelloWorld
{
    public static void main(String[] args)
    {
        System.out.println("Hello World!");
    }
}

C++

#include <iostream>

using namespace std;

int main()
{
    cout << "Hello, world!\n";
    return 0;
}

Well as I did my first hello world programs, I think it became quickly apparent that I really need to figure out how to make the code on my website more readible.

Categories: Tutorials Tags: , ,
  1. No comments yet.
  1. No trackbacks yet.
You must be logged in to post a comment.