[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 'class XX' has no member named 'YY'
From: |
Paul Pluzhnikov |
Subject: |
Re: 'class XX' has no member named 'YY' |
Date: |
Tue, 05 Dec 2006 06:59:47 -0800 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, linux) |
"alaudo" <alaudo@gmail.com> 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.