From: pjfarley AT dorsai DOT org (Peter J. Farley III) Newsgroups: comp.os.msdos.djgpp Subject: Re: Problem with fstreams... Date: Sat, 30 Aug 1997 01:47:08 GMT Organization: None Lines: 24 Message-ID: <34077a34.845806@snews.zippo.com> References: <5u62mh$9l6 AT freenet-news DOT carleton DOT ca> NNTP-Posting-Host: news.newsdawg.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire) wrote: >And in C++, ios::binary in the streap initializing. > >(What is ios::binary really? ios must be a class or something. Or maybe >it's an enum?) Paul, Yes, it's an enum, part of lang\cxx\streambuf.h: enum open_mode { in = _IO_INPUT, out = _IO_OUTPUT, ate = _IO_ATEND, app = _IO_APPEND, trunc = _IO_TRUNC, nocreate = _IO_NOCREATE, noreplace = _IO_NOREPLACE, binary = _IOS_BIN, bin = _IOS_BIN }; ---------------------------------------------------- Peter J. Farley III (pjfarley AT dorsai DOT org)