Информационно-развлекательный портал в Литве, по-русски, Vilnius, 17
07, 2026 www.topic.lt - Romanas (R.K. Frimen)

Topic.lt
 2026-07-17 16:44
Loading... (Longer if IE explorer)

Контакты
Наши RSS
website stats
По материалам:
Новое в интернете


Спонсоры.


В помощь
Как и Что? FAQ


www.PigiauNerasi.lt
Из Топика » Анекдоты » как пишут "hello world" в разном возрасте и с разн
как пишут "hello world" в разном возрасте и с разн

+ - =


школа

10 PRINT "HELLO WORLD"
20 END


первый курс ВУЗа

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


выпускной курс

(defun hello
(print
(cons 'Hello (list 'World))))


начинающий кодер(после ВУЗа)

#include

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


опытный кодер

#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 <<(ostream &, const string &);
string &operator=(const char *);
};

ostream &operator<<(ostream &stream, const string &s)
{
return(stream << s.ptr);
}
string &string::operator=(const char *chrs)
{
if (this != &chrs)
{
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);
}


Сисадмин

#include
#include
main()
{
char *tmp;
int i=0;
/* on y va bourin */
tmp=(char *)malloc(1024*sizeof(char));
while (tmp[i]="Hello Wolrd"[i++]);
/* Ooopps y'a une infusion ! */
i=(int)tmp[8];
tmp[8]=tmp[9];
tmp[9]=(char)i;
printf("%s\n",tmp);
}

кул}{ацкер

#!/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);
}
1;

обычный хакер

#include
#include
#define S "Hello, World\n"
main(){exit(printf(S) == strlen(S) ? 0 : 1);}


опытный хакер

% cc -o a.out ~/src/misc/hw/hw.c
% a.out
Hello, world.


гуру хакинга

% cat
Hello, world.

начинающая бухгалтерша

10 PRINT "HELLO WORLD"
20 END


секретарша

mail -s "Hello, world" [email protected]
Приветик. слушай, будь человеком, напиши программу, которая пишет "Hello, world."?
мне ее надо к завтра

Директор

% написать
написать: Command not found.
% письмо
To: ^X ^F ^C
% help письмо
help: Command not found.
% мля!
!: Event unrecognized
% logout

ученый

PROGRAM HELLO
PRINT *, 'Hello World'
END

опытный ученый

WRITE (6, 100)
100 FORMAT (1H ,11HHELLO WORLD)
CALL EXIT
END


Новость из портала NNM.Ru (NoNaMe)

URL: http://programmerz.nnm.ru/kak_pishut_hello_world_v_raznom_vozraste_i_s_raznoj_rabotoj/

Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы предлагаем Вам зарегистрироваться либо войти на сайт под своим именем.
















BangGood.com



«    Июль 2026    »
ПнВтСрЧтПтСбВс
 12345
6789101112
13141516171819
20212223242526
2728293031 



 
rss rss facebook youtube twitter linkedin
www.Topic.lt
facebook
PinIt