![]() |
|
|
|||||||
| Blagues / Jokes Avez vous entendu une joke drôle (ou platte) que vous aimeriez partager? Racontez ! Did you hear a funny joke lately that you wish to share with everyone else? Please post it here. |
![]() |
|
|
LinkBack | Outils de la discussion | Modes d'affichage |
|
|
#1 (permalink) |
|
12 O'clock
![]() Date d'inscription: août 2003
Localisation: N45.483W73.562
Messages: 7 969
Pouvoir de réputation: 14 Reputation: 163
![]() ![]() Moto: 1988 Yamaha FZR400-600 frankenstein |
High school/Jr. High
Code:
10 PRINT "HELLO WORLD" 20 END First year in college Code:
program Hello(input, output);
begin
writeln ('Hello world');
end
Senior year in college Code:
(defun hello
(print
(cons 'HELLO (list 'WORLD))))
New professional Code:
#include <stdio.h>
main (argc,argv)
int argc;
char **argv; {
printf ("Hello World!\n");
}
Seasoned pro Code:
#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[i];
cout << "\n";
}
void outstring::assign(char *chrs) {
int i;
for (i=0; chrs[i] != '\0';i++)
str[i] = chrs[i];
size=i;
}
main (int argc, char **argv) {
outstring string;
string.assign("Hello World!");
string.print();
}
Manager Code:
/* George, I need a program to output a string
"Hello World!" */
-- |
|
|
|
![]() |
| Liens sociaux |
| Outils de la discussion | |
| Modes d'affichage | |
|
|
Discussions similaires
|
||||
| Discussion | Auteur | Forum | Réponses | Dernier message |
| We fuck the world | Crashking | Blagues / Jokes | 4 | 29/03/2006 18h25 |
| urinals from around the world !!!! | GODZILLA | Blagues / Jokes | 0 | 12/12/2005 09h06 |
| New to the bike world | niterider450 | Nouveaux membres / New members | 16 | 14/10/2005 19h15 |
| End of the world | RickRR | Blagues / Jokes | 6 | 03/10/2005 12h55 |
| In a perfect world... | Makiavel | Blagues / Jokes | 2 | 19/01/2003 18h52 |