Mail Archives: djgpp/1997/09/07/17:02:42
ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire) wrote:
<Snipped>
>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)
- Raw text -