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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
#include <iostream>
#include <conio.h>
#include <string>
using namespace std;
#pragma once
enum E_SEX { MALE, FEMALE, SEX_COUNT};
enum E_COLOR { WHITE, BROWN, BLACK, SPOTTED, COLOUR_COUNT};
enum E_NAME { JULIUS_CEZAR, HITLER, STALIN, POLPOT, MAO, EDMUND, EGIDA, CHURCHIL, ROOSVELT, DMOWSKI, JAPA, DUPA,
PUPA, MUSSOLINI, DE_GAULE,CHAVEZ, KADAFI, LUKASZENKO, CASTRO, KHAMENEI, AHMADINEJAD, BASHIR,
SADDAM, KIM_IR_SONG, E_NAMES_COUNT};
class CFeatures
{
public:
int sex;
int age;
std::string name;
bool radioactive_mutant_vampire_bunny;
};
class CAdultBunny
{
public:
CAdultBunny(void);
bool SetRadioactive_mutant_vampire_bunny(int losowaLiczba);
void SetSex();
void SetAge(int runda);
void SetName();
int GetSex();
int GetAge();
std::string GetName();
protected:
CFeatures Features;
public:
~CAdultBunny(void);
};
|