Mail Archives: djgpp/2004/09/03/06:15:53
pradyut bhattacharya <pradyut100 AT yahoo DOT com> wrote:
> i'm using rhidew compiler in winxp
No, you're not. Because RHIDE isn't a compiler. It's an idea. The
compiler is GCC (or rather it's C++ incarnation, G++, in this case).
> void destroy
> {
The problem is that a crucial item is missing in the above two lines.
And the compiler even told you so, in no uncertain terms:
> /*
> string.cc:45: error: invalid member function declaration
Now get back to your textbook and look up how a function declaration
is supposed to look like, and compare it with the above.
Some of the other errors are likely to be follow-up errors.
--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.
- Raw text -