Sujet : Re: on named blocks concept
De : Bonita.Montero (at) *nospam* gmail.com (Bonita Montero)
Groupes : comp.lang.cDate : 07. Nov 2024, 18:19:27
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vgispl$2o6r1$1@raubtier-asyl.eternal-september.org>
References : 1 2 3 4 5 6 7 8
User-Agent : Mozilla Thunderbird
Am 07.11.2024 um 18:01 schrieb fir:
the subtypes are things that
1{sing(); }
2 { swim();
3 { fly();}
4 {sing(); swim(); }
5 { swim(), fly()} ;
6 { sing(); fly();}
With that you could use three interfaces (classes with only pure
virtual functions) and derive them as needed. That's still OOP.
OOP is useful and a standard.