Just some computer-related fun for boring times...
Thread Starter
Joined: Oct 1998
Posts: 468
Likes: 0
From: UK
some time has passed by that we have seen some jokes here, guess we should have now some more again....
very appropriate Internet Explorer error message
watch out....more to come
very appropriate Internet Explorer error message
watch out....more to come
Thread Starter
Joined: Oct 1998
Posts: 468
Likes: 0
From: UK
and something for the coding guys...
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
erator=(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
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
(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
erator=(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




