"alaudo" <[EMAIL PROTECTED]> writes:

> I am writing a code with one class having a variable of the other class
> and I get the error message:
>
> 'class Menge' has no member named 'Clear'
>
> What could that be?

You do realize that C++ is case-sensitive, and that "clear()" and
"Clear()" are not the same thing, do you?

> // Definition of the first class
> class Menge
> { ...
>              void clear ()
> };
>
...
>         AliveRules.Clear(); // <--- Here is the error message

Cheers,
-- 
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
_______________________________________________
help-gplusplus mailing list
help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to