Category:Programmiersprachen: Difference between revisions

Category page
(created with Hello World examples :D)
 
 
Line 55: Line 55:
     <td><source lang="LOLCODE">
     <td><source lang="LOLCODE">
BTW Hello World in LOLCODE
BTW Hello World in LOLCODE
  HAI
  HAI
     CAN HAS STDIO?
     CAN HAS STDIO?
Line 64: Line 65:
     <td><source lang="C">
     <td><source lang="C">
// Hello World in Brainfuck
// Hello World in Brainfuck
++++++++++[>+++++++>++++++++++>+++>+<<<<-]
++++++++++[>+++++++>++++++++++>+++>+<<<<-]
>++.>+.+++++++..+++.>++.<<+++++++++++++++.
>++.>+.+++++++..+++.>++.<<+++++++++++++++.

Latest revision as of 11:36, 29 April 2010

Hello World

// Hello World in Java

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

<?php
  // Hello World in PHP
  echo "Hello, world!";
 ?>
// Hello World in C
#include <stdio.h>
 
 int main(void) {
    printf("Hello, world!\n");
    return 0;
 }
// Hello World in Obj-C
#import <Foundation/Foundation.h>
 
int main (int argc, const char * argv[]) {
   NSLog(@"Hello, world!");
   return 0;
}
BTW Hello World in LOLCODE

 HAI
     CAN HAS STDIO?
     VISIBLE "HAI WURLD!"
 KTHXBYE
// Hello World in Brainfuck

++++++++++[>+++++++>++++++++++>+++>+<<<<-]
>++.>+.+++++++..+++.>++.<<+++++++++++++++.
>.+++.------.--------.>+.>.

helloworldexample.net