All pastes #775214 Raw Edit

Stuff

public cpp v1 · immutable
·published 2007-11-15 14:55 UTC
rendered paste body
#ifndef SIKIDOMOK_H#define SIKIDOMOK_Hclass SikidomBase{    public:        SikidomBase() {};        virtual bool Tartalmaz(const int x, const int y);    protected:        int x,y;};class Kor: public SikidomBase{    public:        Kor(int _x, int _y, int _sugar);        bool Tartalmaz(const int _x, const int _y);    private:        int sugar;};class Negyzet: public SikidomBase{    public:        Negyzet(int _x, int _y, int _oldalhossz);        bool Tartalmaz(const int _x, const int _y);    protected:        int oldalhossz;};class Otszog: public Negyzet{    public:        bool Tartalmaz(const int _x, const int _y);};class Hatszog: public Negyzet{    public:        bool Tartalmaz(const int _x, const int _y);};#endif