Today I wrote my first hello world cgi program. Tomorow I will kick genuine butt. Wonderfull things start with hello.

Replies are listed 'Best First'.
RE: Hello World
by Anonymous Monk on Feb 02, 2000 at 04:16 UTC
    Doubtlessly, Larry Wall, Linus Torvalds, John Carmack, tchrist, and just about everybody else started out writing Hello, World! it's like a rite of passage - you can hardly call yourself a programming "adult" without writing the sacred program. Just a small trip down memory lane...
    perl -e 'print "Hello, World!\n"'
    
    (display "Hello, World!") (newline)
    
    #include <stdio.h>
    int main(int argc,char *argv[]){ printf("Hello, World!\n");}
    
    public class Hello{
    public static void main(String args[]){
    	System.out.println("Hello, World!");
    }}
    
      or even the hideous: 10 PRINT "Hello World!" 20 GOTO 10
Hello World
by LeGo (Chaplain) on Aug 25, 2000 at 22:01 UTC
    I just started to take a intro to perl course. So we get the hello world example for HW. So I decided to have fun with it a bit. Below are 2 examples in one script of how to do "HELLO WORLD!" that print a tad bit funky.
    #!/user/local/bin/perl -w #hello world twice funky use strict; my @hello=('H','E','L','L','O',' ','W','O','R','L','D','!'); my $i = 0; foreach my $var(@hello){ while($i < 10000){ my @letters = ('A'..'Z'); my $m = $letters[int rand @letters]; print "$m\b"; $i++ } $i = 0; print $var; } @hello = reverse(@hello); print "\n "; foreach my $var(@hello){ print "\b\b"; sleep 1; $i++; print $var; }
    LeGo