Re: Derived Class from a base class...

From: jeffc (nobody_at_nowhere.com)
Date: 01/27/04


Date: Tue, 27 Jan 2004 15:13:39 -0500


"cald" <caldwel@linux.com> wrote in message
news:101asjrcsmtj9ca@corp.supernews.com...
>
> I read the c++ book, but I am not sure how it is related to real life
> example. Could someone be so kind to give me an example or code? It
would
> be nice to have a compilable code so I can test it off from vc++
>
> Derived class from a base class.

Real life code has many examples that are similar to what's in your book.
VC++ can compile any simple inheritance that is in your book, unless it
contains some includes that are not supported by your compiler version.



Relevant Pages

  • Lniker Error while compilation.
    ... i have implemented a base class and a derived class as follows ... beziertriangle .h and beziertriangle .cpp ... when i compile them it works out fine, but when i create an instance ... of the derived class in its main function, it gives my a linker error ...
    (comp.lang.cpp)
  • Re: Lniker Error while compilation.
    ... > i have implemented a base class and a derived class as follows ... > when i compile them it works out fine, but when i create an instance ... > of the derived class in its main function, it gives my a linker error ... asking linking and other project management questions in the compiler NG. ...
    (comp.lang.cpp)
  • Re: curiously recurring template pattern problem
    ... I'm presuming that ... > this kind of construct is difficult or impossible to compile for some ... In CRTP even though the base class depends on the derived class, ...
    (comp.lang.cpp)
  • Re: Hiding base class methods
    ... "Tim Wilson" wrote: ... > compile since the method does exist. ... > public class Base: System.Object ... >> then the method of the derived class shows up. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Deployment question regarding base class
    ... the derived class assemblies do not require recompilation as long as nothing has structurally changed that may affect them. ... I'm used to static linking at compile time, ...
    (microsoft.public.dotnet.languages.csharp)