"Figure Out This Program" joke

Software Learning Process


Hello World.......

High School/Jr. High
===================

10 PRINT "HELLO WORLD"
20 END


First year in College
=====================
program Hello(input, output)
begin
writeln('Hello World')
end.


Senior year in College
======================
(defun hello
(print
(cons' Hello (list' World))))

New professional
================
#include
void main(void)


char *message[] = {"Hello ", "World"};
int i;

for(i = 0; i < 2; ++i)
printf("%s", message[i]);
printf(" ");
}


Seasoned professional
=====================
#include
#include

class string

private:
int size;
char *ptr;

public:
string(): size(0), ptr(new char('')) {}

string(const string &s): size(s. size)

ptr = new char[size + 1];
strcpy(ptr, s. ptr);
}

~string()

delete [] ptr;
}

friend ostream &operator

Not enough votes...

Be first to comment!
remember me
follow replies
Funny Joke? 0 vote(s). 0% are positive. 0 comment(s).