Armenian Knowledge Base  

Go Back   Armenian Knowledge Base > General Discussions > General > Greeting Place
Register

Reply
 
LinkBack Thread Tools
Old 14.09.2005, 09:33   #31
★★★★★★★★★★★★★
 
Hrach_Techie's Avatar
 
Join Date: 08 2004
Location: London, UK
Age: 38
Posts: 16,531
Downloads: 8
Uploads: 0
Reputation: 482 | 6
Talking Happy Birthday

Code:
 
//////////////////////////////////////////////////////////////////////
// Happy Birthday Construction/Destruction
//////////////////////////////////////////////////////////////////////
 
Life::Life(Point start, Point end) : end1(start.getX(), start.getY())
{
length = start.distance(end);
if (start.getX() - end.getX() < 0.0001 && start.getX() - end.getX() > -0.0001)
angle = acos(0);
else
angle = atan((end.getY() - start.getY()) / (end.getX() - start.getX()));
}
 
void Life::move(double dx, double dy)
{
end1.move(dx, dy);
}
 
void Life::happiness (double ratio)
{
if (ratio > 0) length *= ratio;
}
 
void Life::rotate(double dA)
{
angle += dA;
}
 
double Life::getLength() const
{
return length;
}
 
double Life::getAngle() const
{
return angle;
}
 
Point Life::getEnd1() const
{
Point result = end1;
return result;
}
 
Point Life::getEnd2() const
{
Point result(end1.getX() + length * cos(angle), end1.getY() + length * sin(angle));
return result;
}
 
Point* Life::getEnds() const
{
Point *result = new Point[2];
result[0] = getEnd1();
result[1] = getEnd2();
return result;
}
Ashxatox Nvera - error chi tali
Enjoy the LIFE itself and the LENGTH of BEING HAPPY in it!!!!

PS: Do not forget to kiss me when you see me around next time as I am an Armenian!!!
Reply With Quote
Old 14.09.2005, 09:46   #32
Смотри мне прямо в глаза!
 
Monopole's Avatar
 
Join Date: 09 2003
Location: Все там будем.....
Age: 41
Posts: 16,499
Downloads: 1
Uploads: 0
Reputation: 493 | 6
Default

ПОЗДРАВЛЯЮ !!!
Reply With Quote
Old 14.09.2005, 09:53   #33
Маленькая Вселенная
 
Naturel's Avatar
 
Join Date: 05 2004
Location: Erevan
Age: 33
Posts: 83
Downloads: 0
Uploads: 0
Reputation: 12 | 0
Default

джан , я уже поздравила в реале , но еще и еще раз поздравляю !!!!!!!!!
всего самого-самого !!!!!!!да по-больше
Reply With Quote
Old 14.09.2005, 10:09   #34
Школьник
 
UNICORN's Avatar
 
Join Date: 12 2004
Location: ELSEWHERE
Age: 32
Posts: 193
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Default

EEEEEEEEEE-D-D-DA-DDA-DA-DA-DA-DA-DA!!!!!!!!!!!!!!!!
да будет свет в твoией палатke!!!!!!!!!!!
.......и в жизни тоже!!!!!!!! (es indznic) (es el maneic)
мунк кэз сырум энк!!!!!!!!!!!! лике-лике-лике!
Reply With Quote
Old 14.09.2005, 10:10   #35
полюбому йес эм...
 
Mesrop's Avatar
 
Join Date: 02 2005
Location: near the computer
Age: 26
Posts: 3,243
Downloads: 3
Uploads: 0
Reputation: 129 | 3
Default

Shnorhavor!
Reply With Quote
Old 14.09.2005, 10:13   #36
delicate sound of thunder
 
Tipusya's Avatar
 
Join Date: 04 2003
Location: bilberry nights
Posts: 4,627
Downloads: 0
Uploads: 0
Reputation: 27 | 3
Default

Поздравляю!Будь счастлив,здоров ,и чтоб муза не покидала тебя никогда!
Reply With Quote
Old 14.09.2005, 10:23   #37
...overwined...
 
noone's Avatar
 
Join Date: 03 2003
Location: ...tortuga...
Posts: 3,429
Downloads: 3
Uploads: 0
Reputation: 158 | 3
Default

шнорхавор, ахпер!...
Reply With Quote
Old 14.09.2005, 11:03   #38
Блю-НПОшница-шпиёнка
 
Blue-eyed's Avatar
 
Join Date: 05 2004
Location: in transition
Age: 38
Posts: 2,669
Downloads: 0
Uploads: 0
Reputation: 19 | 3
Default

Ed jan S Dnyom Rozhdeniya nebya daragoy! Pobol'she vdoxnoveniya tebe, chtobi tvorilos' pobol'she udachi i lyubvi, chto veselo zhilos'
Reply With Quote
Old 14.09.2005, 11:06   #39
Unregistred user
 
Shatov's Avatar
 
Join Date: 02 2005
Location: За столом , на стуле
Age: 39
Posts: 2,214
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Default

А это на чем написанно (вроде йава) ?


Quote:
Originally Posted by Hrach_Techie
Code:
 
//////////////////////////////////////////////////////////////////////
// Happy Birthday Construction/Destruction
//////////////////////////////////////////////////////////////////////
 
Life::Life(Point start, Point end) : end1(start.getX(), start.getY())
{
length = start.distance(end);
if (start.getX() - end.getX() < 0.0001 && start.getX() - end.getX() > -0.0001)
angle = acos(0);
else
angle = atan((end.getY() - start.getY()) / (end.getX() - start.getX()));
}
 
void Life::move(double dx, double dy)
{
end1.move(dx, dy);
}
 
void Life::happiness (double ratio)
{
if (ratio > 0) length *= ratio;
}
 
void Life::rotate(double dA)
{
angle += dA;
}
 
double Life::getLength() const
{
return length;
}
 
double Life::getAngle() const
{
return angle;
}
 
Point Life::getEnd1() const
{
Point result = end1;
return result;
}
 
Point Life::getEnd2() const
{
Point result(end1.getX() + length * cos(angle), end1.getY() + length * sin(angle));
return result;
}
 
Point* Life::getEnds() const
{
Point *result = new Point[2];
result[0] = getEnd1();
result[1] = getEnd2();
return result;
}
Ashxatox Nvera - error chi tali
Enjoy the LIFE itself and the LENGTH of BEING HAPPY in it!!!!

PS: Do not forget to kiss me when you see me around next time as I am an Armenian!!!
Reply With Quote
Old 14.09.2005, 11:07   #40
Высокий уровень ICQ
 
Jezz's Avatar
 
Join Date: 08 2004
Location: Loch-Ness Lake
Age: 37
Posts: 6,898
Downloads: 0
Uploads: 0
Blog Entries: 2
Reputation: 793 | 5
Default

Мои наилучшие пожелания самому креативному и талантливому человеку!!!!
Reply With Quote
Old 14.09.2005, 11:28   #41
Честный Кот
 
Reckon_'s Avatar
 
Join Date: 04 2004
Location: Yerevan
Age: 41
Posts: 1,844
Downloads: 0
Uploads: 0
Reputation: 165 | 3
Talking

Мои искренние поздравления, дорогой наш Алхимик!!!
Reply With Quote
Old 14.09.2005, 11:56   #42
...overwined...
 
noone's Avatar
 
Join Date: 03 2003
Location: ...tortuga...
Posts: 3,429
Downloads: 3
Uploads: 0
Reputation: 158 | 3
Default

алхимик, могу подкинуть рецептик превращения красного апельсинового сока в томатный...
Reply With Quote
Old 14.09.2005, 12:05   #43
the happiest girl
 
Join Date: 02 2002
Location: Yerevan
Posts: 2,523
Downloads: 1
Uploads: 0
Reputation: 63 | 4
Default

мои поздравления
Reply With Quote
Old 14.09.2005, 12:14   #44
a little soap bubble
 
Azura's Avatar
 
Join Date: 12 2004
Location: Yerevan
Age: 28
Posts: 2,744
Downloads: 2
Uploads: 0
Reputation: 62 | 3
Default

Алх, с днем тебя матах ! Амена лавы.
Reply With Quote
Old 14.09.2005, 13:29   #45
Нимфуля-красотуля :)
 
Nimfa's Avatar
 
Join Date: 04 2002
Location: Лесное озеро
Posts: 1,759
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Default

С праздником! Радости, любви и счастья!
Reply With Quote
Sponsored Links
Reply

Thread Tools


На правах рекламы:
реклама

All times are GMT. The time now is 17:35.


Powered by vBulletin® Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.