PDA

View Full Version : Just some computer-related fun for boring times...


FL310
10th Apr 2002, 14:58
some time has passed by that we have seen some jokes here, guess we should have now some more again.... :D :D

very appropriate Internet Explorer error message (http://www.thispagecannotbedisplayed.com)

watch out....more to come

FL310
10th Apr 2002, 19:23
guess you like this one (http://www.skeeva.com/tpcbd/asdf.html) than as well...
http://internetdienste.freepage.de/captainrak/images/smilies/megagrin.gif http://internetdienste.freepage.de/captainrak/images/smilies/cool2.gif http://internetdienste.freepage.de/captainrak/images/smilies/engel.gif

FL310
10th Apr 2002, 23:42
How to identify the status of an IT-pro

highschool level

10 PRINT "HELLO WORLD"
20 END

first year university

program Hello(input, output)
begin
writeln(’Hello World’)
end.

second year university

argv IS $1
LOC #100
Main LDOU $255,argv,0
TRAP 0,Fputs,StdOut
GETA $255,String
TRAP 0,Fputs,StdOut
TRAP 0,Halt,0
String BYTE " world",#a,0

holding freshly printed diploma in hands

(define hello
(print
(cons ’Hello (list ’World))))

just started first job

#include <stdio.h>
void main(void)
{
char *message[] = {"Hello ", "World"};
int i;
for(i = 0; i < 2; ++i)
printf("%s", message[i]);
printf("n");
}

Teamleader with Microsoft Windows NG department

#include <iostream.h>
#include <string.h>
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 <<(ostream &, const string &);
string &operator=(const char *);
};
ostream &operator<<(ostream &stream, const string &s)
{
return(stream << s.ptr);
}
string &string:perator=(const char *chrs)
{
if (this != &chrs)
{
10
delete [] ptr;
size = strlen(chrs);
ptr = new char[size + 1];
strcpy(ptr, chrs);
}
return(*this);
}
int main()
{
string str;
str = "Hello World";
cout << str << endl;
return(0);
}

new member of the hacking society

#!/usr/local/bin/perl
$msg="Hello, world.n";
if ($#ARGV >= 0) {while(defined($arg=shift(@ARGV))) {
$outfilename = $arg;
open(FILE, ">" . $outfilename) || die "Can’t write $arg: $!n";
print (FILE $msg);
close(FILE) || die "Can’t close $arg: $!n";
}
} else {
print ($msg);
}

experienced hacker

#include <stdio.h>
#define S "Hello, Worldn"
main(){exit(printf(S) == strlen(S) ? 0 : 1);}

supervisor at hacking group

% cc -o a.out ˜/src/misc/hw/hw.c
% a.out

Bill Gates first program

% cat
Hello, world.
ˆD