User:Kafik: Difference between revisions

From KDE TechBase
(New page: #include <human.h> #include <monkey.h> int main(){ Human Vitaly = new Human(); Vitaly->setHairColor(Blonde); Vitaly->setHairCurly(true); //очень Vitaly->setGrowth(195); //хвата...)
 
No edit summary
 
Line 1: Line 1:
<code>
#include <human.h>
#include <human.h>
#include <monkey.h>
#include <monkey.h>
Line 17: Line 18:
return Vitaly->exec();
return Vitaly->exec();
}
}
</code>

Latest revision as of 03:34, 18 September 2008

  1. include <human.h>
  2. include <monkey.h>

int main(){ Human Vitaly = new Human();

Vitaly->setHairColor(Blonde); Vitaly->setHairCurly(true); //очень Vitaly->setGrowth(195); //хватат Vitaly->setWeight(65); //недобор Vitaly->setSenseOfHumor(true); //ну вроде... //Vitaly->setGirlFriendState(true); //бля раскомментировать надо было Vitaly->setProfession(Programmer); //йес!!! Vitaly->setFavoriteMusic(Rock); //ну не только же...

Vitaly->show(); //мы родилесь! return Vitaly->exec(); }