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.