[prog] C++ Inheritance

Laurel Fan laurel at sdf.lonestar.org
Fri May 23 09:33:07 EST 2003


On Fri, May 23, 2003 at 11:18:57PM +1000, Sue Stones wrote:
> I am trying to write a class that is a extention of fstream called 
> fstream_ext.  If I have the termanology right fstream is the base-class.

[snip]

>  explicit  Fstream_ext::Fstream_ext(const char *filename,
>                 openmode mode=in|out)
>         :fstream(filename, mode=in|out)

Just a sanity check.. is your class called Fstream_ext or fstream_ext?


-- 
laurel at sdf.lonestar.org
http://dreadnought.gorgorg.org


More information about the Programming mailing list