Category:Programmiersprachen

Category page
Revision as of 11:36, 29 April 2010 by Mm (talk | contribs) (→‎Hello World)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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