· KLDP.org · KLDP.net · KLDP Wiki · KLDP BBS ·
Hello World

BASIC

10 print "Hello World"

C Language

#include <stdio.h>
int main()
{
  printf("Hello World\n");
  return 0;
}

#include <stdio.h>
#define e 3
#define g (e/e)
#define h ((g+e)/2)
#define f (e-g-h)
#define j (e*e-g)
#define k (j-h)
#define l(x) tab2[x]/h
#define m(n,a) ((n&(a))==(a))

long tab1[]={ 989L,5L,26L,0L,88319L,123L,0L,9367L };
int tab2[]={ 4,6,10,14,22,26,34,38,46,58,62,74,82,86 };

int main(m1,s) char *s; {
    int a,b,c,d,o[k],n=(int)s;
    if(m1==1){ char b[2*j+f-g]; main(l(h+e)+h+e,b); printf(b); }
    else switch(m1-=h){
        case f:
            a=(b=(c=(d=g)<<g)<'<g)<<g;
            return(m(n,a|c)|m(n,b)|m(n,a|d)|m(n,c|d));
        case h:
            for(a=f;a=e)for(b=g<<g;b<n;++b)o[b]=o[b-h]+o[b-g]+c;
            return(o[b-g]%n+k-h);
        default:
            if(m1-=e) main(m1-g+e+h,s+g); else *(s+g)=f;
            for(*s=a=f;a<e;) *s=(*s<<e)|main(h+a++,(char *)m1);
        }
        return 0;
}

C++

#include <iostream>
int main()
{
  std::cout <<"Hello, world.\n";
  return 0;
}

JAVA

// HelloWorld.java

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



ID
Password
Join
With clothes the new are best, with friends the old are best.


sponsored by andamiro
sponsored by cdnetworks
sponsored by HP

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2005-10-21 01:19:19
Processing time 0.0053 sec