June 3rd, 2010, 10:11 am
QuoteOriginally posted by: CuchulainnNow I want to model animals whose bite(), suck(), strangle() is worse than their bark(). So, the class is "Dangerous_Animals", how do I do it?there are many approaches, such as multiple inheritance in C++ or CLU's 'where' clause. i personally like the latter, it's also very compatible with GP approach