Hello, World!

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Tubular Technician

    #1

    Hello, World!

    #include <stdio.h>

    int main(void)
    {
    puts("Hello, World!");
    return 0;
    }

  • Eric Sosman

    #2
    Re: Hello, World!

    Tubular Technician wrote:
    #include <stdio.h>
    >
    int main(void)
    {
    puts("Hello, World!");
    return 0;
    }
    #include <stdio.h>
    int main(void) {
    puts ("Wotcher.") ;
    return 0;
    }

    --
    Eric Sosman
    esosman@ieee-dot-org.invalid

    Comment

    • Christopher Benson-Manica

      #3
      Re: Hello, World!

      [comp.lang.c] Eric Sosman <esosman@ieee-dot-org.invalidwrot e:
      #include <stdio.h>
      int main(void) {
      puts ("Wotcher.") ;
      return 0;
      }
      #include <stdio.h>
      int main( void ) {
      fprintf( stdout, "s'up, dawg!\n" );
      return 0;
      }

      (I had to look up "wotcher", I admit.)

      --
      C. Benson Manica | I appreciate all corrections, polite or otherwise.
      cbmanica(at)gma il.com |
      ----------------------| I do not currently read any posts posted through
      sdf.lonestar.or g | Google groups, due to rampant unchecked spam.

      Comment

      • Keith Willis

        #4
        Re: Hello, World!

        On Wed, 31 Oct 2007 12:59:55 +0000 (UTC), Christopher Benson-Manica
        <ataru@vinland. freeshell.orgwr ote:
        >#include <stdio.h>
        >int main( void ) {
        fprintf( stdout, "s'up, dawg!\n" );
        return 0;
        >}
        <ob-threaddrift>
        I loved the comment elsewhere[1] that "If TCP/IP handshaking was less
        formal, then perhaps SYN/ACK would be YO!/SUP!"...

        1. http://www.thinkgeek.com/tshirts/coder/
        </ob-threaddrift>
        --
        PGP key ID 0xEB7180EC

        Comment

        Working...