Mail Archives: djgpp/1997/09/08/03:48:12
Erik Max Francis (max AT alcyone DOT com) writes:
> Peter J. Farley III wrote:
>
>> I'm not that familiar with the class structures, I'm just reporting
>> what I see when browsing the header file. You should probably check
>> out a book or tutorial that teaches about the class structure in
>> fstreams (sorry, I can't recommend one because I haven't read one yet
>> myself).
>
> ios is a virtual base class of the iostream family. This means that all
> iostream classes (istream, ostream, istrstream, streambuf, etc.) have
> exactly one ios parent class.
How do the enum elements BINARY and so forth become members of ios, as in
ios::, and not of some enum? Normally the :: thing only applies to member
functions and instance variables, not to enums. Is the enum actually
inside the class? Can a class contain structs and subclasses actually
inside itself so they are only defined in the scope of the class, for
naming purposes?
--
.*. Where feelings are concerned, answers are rarely simple [GeneDeWeese]
-() < When I go to the theater, I always go straight to the "bag and mix"
`*' bulk candy section...because variety is the spice of life... [me]
Paul Derbyshire ao950 AT freenet DOT carleton DOT ca, http://chat.carleton.ca/~pderbysh
- Raw text -