delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/08/03:48:12

From: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Problem with fstreams...
Date: 3 Sep 1997 05:35:42 GMT
Organization: The National Capital FreeNet
Lines: 26
Message-ID: <5uisve$sfg@freenet-news.carleton.ca>
References: <Pine DOT SGI DOT 3 DOT 93 DOT 970829111108 DOT 28565A-100000 AT gibson> <5u62mh$9l6 AT freenet-news DOT carleton DOT ca> <34077a34 DOT 845806 AT snews DOT zippo DOT com> <5u8pmk$7j1 AT freenet-news DOT carleton DOT ca> <34087191 DOT 15417632 AT snews DOT zippo DOT com> <340B1EAB DOT 1F5BC046 AT alcyone DOT com>
Reply-To: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire)
NNTP-Posting-Host: freenet3.carleton.ca
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019