The evolution of a programmer

Discussion in 'Programming' started by Scripting, Jul 23, 2010.

  1. Scripting

    Scripting John Hoder

    Joined:
    Jun 29, 2010
    Messages:
    421
    Likes Received:
    57
    Trophy Points:
    0
    Occupation:
    School for life
    Location:
    /root
    Joke of 90's

    High school / Jr. High
    10 PRINT "HELLO WORLD"
    20 END

    First year in collage
    program Hello(input, output);
    begin
    writeln ('Hello world');
    end

    Senior year in collage
    (defun hello
    (print
    (cons 'HELLO (list 'WORLD))))

    New professional
    #include <stdio.h>
    main (argc,argv)
    int argc;
    char **argv; {
    printf ("Hello World!\n");
    }

    Seasoned pro
    #include <stream.h>
    const int MAXLEN = 80;
    class outstring;
    class outstring {
    private:
    int size;
    char str[MAXLEN];
    public:
    outstring() { size = 0; }
    ~outstring() { size = 0; }
    void print();
    void assign(char *chrs);
    };
    void outstring::print() {
    int i;
    for (i = 0; i < size; i++)
    cout << str[];
    cout << "\n";
    }
    void outstring::assign(char *chrs) {
    int i;
    for (i = 0; chrs != '\0'; i++)
    str = chrs;
    size = i;
    }
    main (int argc, char **argv) {
    outstring string;
    string.assign("Hello World!");
    string.print();
    }

    Manager
    /* George, I need a program to output a string "Hello World!" */


    Don't forget THX.
     
  2. Scripting

    Scripting John Hoder

    Joined:
    Jun 29, 2010
    Messages:
    421
    Likes Received:
    57
    Trophy Points:
    0
    Occupation:
    School for life
    Location:
    /root
    Goood joke, isnt it?
     
  3. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,345
    Likes Received:
    382
    Trophy Points:
    83
    Yes true.
     
  4. techgeek.in

    techgeek.in New Member

    Joined:
    Dec 20, 2009
    Messages:
    572
    Likes Received:
    19
    Trophy Points:
    0
    Occupation:
    EOC (exploitation of computers)..i m a Terminator.
    Location:
    Not an alien!! for sure
    Home Page:
    http://www.techgeek.in
  5. Scripting

    Scripting John Hoder

    Joined:
    Jun 29, 2010
    Messages:
    421
    Likes Received:
    57
    Trophy Points:
    0
    Occupation:
    School for life
    Location:
    /root
    All credits go to me.
     
  6. Scripting

    Scripting John Hoder

    Joined:
    Jun 29, 2010
    Messages:
    421
    Likes Received:
    57
    Trophy Points:
    0
    Occupation:
    School for life
    Location:
    /root
  7. Kyuuqsoft

    Kyuuqsoft New Member

    Joined:
    Feb 14, 2011
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    0
    wow, look it that go, good.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice