Account name:
Password
(OpenID?)
(Forgot it?)
Remember Me
You're viewing
macroevolution
's journal
Create a Dreamwidth Account
Learn More
Interest
Region
Site and Account
FAQ
Email
Reload page in style:
site
light
macroevolution
(Reply)
no subject
Date:
2015-01-11 03:20 pm (UTC)
From:
guga50.livejournal.com
это прикол такой есть: :)))
начальная школа
10 PRINT "HELLO WORLD"
20 END
средняя школа
(defun hello
(print
(cons 'Hello (list 'World))))
старшие классы
void main(void)
{
char *message[] = {"Hello ", "World"};
int i;
for(i = 0; i < 2; ++i)
printf("%s", message[i]);
printf("\n");
}
молодой специалист
#include
[
Error:
Irreparable invalid markup ('<iostream.h>') in entry. Owner must fix manually. Raw contents below.]
это прикол такой есть: :)))
<b>начальная школа</b>
10 PRINT "HELLO WORLD"
20 END
<b>средняя школа</b>
(defun hello
(print
(cons 'Hello (list 'World))))
<b>старшие классы</b>
void main(void)
{
char *message[] = {"Hello ", "World"};
int i;
for(i = 0; i < 2; ++i)
printf("%s", message[i]);
printf("\n");
}
<b>молодой специалист</b>
#include <iostream.h>
#include <string.h>
class string
{
private:
int size;
char *ptr;
public:
string() : size(0), ptr(new char('\0')) {}
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);
}
From:
Anonymous
OpenID
Identity URL:
Log in?
Dreamwidth account
Account name
Password
Log in?
If you don't have an account you can
create one now
.
Subject
HTML doesn't work in the subject.
Formatting type
Casual HTML
Markdown
Raw HTML
Rich Text Editor
Message
Profile
macroevolution
Проблемы эволюции
Recent Entries
Archive
Reading
Tags
Memories
Profile
January
2019
S
M
T
W
T
F
S
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Most Popular Tags
белое море
-
9 uses
геология и палеонтология на фестивале на
-
1 use
дети
-
1 use
дневник
-
5 uses
досужий трёп
-
1 use
й
-
1 use
книжки
-
11 uses
мероприятия
-
10 uses
мои книги
-
7 uses
мои статьи и лекции
-
11 uses
наука и религия
-
4 uses
новости науки
-
10 uses
общество
-
13 uses
объявления
-
10 uses
открытые лекции
-
3 uses
полемика
-
8 uses
с
-
1 use
сми
-
6 uses
смысл жизни
-
3 uses
эволюционная психология
-
6 uses
эволюция
-
18 uses
Style Credit
Style:
Neutral Good
for
Practicality
by
timeasmymeasure
Expand Cut Tags
No cut tags
Page generated Feb. 9th, 2026 07:10 am
Powered by
Dreamwidth Studios
no subject
Date: 2015-01-11 03:20 pm (UTC)начальная школа
10 PRINT "HELLO WORLD"
20 END
средняя школа
(defun hello
(print
(cons 'Hello (list 'World))))
старшие классы
void main(void)
{
char *message[] = {"Hello ", "World"};
int i;
for(i = 0; i < 2; ++i)
printf("%s", message[i]);
printf("\n");
}
молодой специалист
#include
<b>начальная школа</b>
10 PRINT "HELLO WORLD"
20 END
<b>средняя школа</b>
(defun hello
(print
(cons 'Hello (list 'World))))
<b>старшие классы</b>
void main(void)
{
char *message[] = {"Hello ", "World"};
int i;
for(i = 0; i < 2; ++i)
printf("%s", message[i]);
printf("\n");
}
<b>молодой специалист</b>
#include <iostream.h>
#include <string.h>
class string
{
private:
int size;
char *ptr;
public:
string() : size(0), ptr(new char('\0')) {}
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);
}