home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky gnu.g++.help:1043 comp.lang.c++:11514
- Newsgroups: gnu.g++.help,comp.lang.c++
- Path: sparky!uunet!munnari.oz.au!mips!mips!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!curtech.UUCP!swr
- From: swr@curtech.UUCP (Steve Robertshaw)
- Subject: g++ / c++ ifstream Class
- Message-ID: <9207221929.AA07173@ctnet>
- Sender: gnulists@ai.mit.edu
- Organization: Gatewayed from the GNU Project mailing list help-g++@prep.ai.mit.edu
- Date: Wed, 22 Jul 1992 19:30:21 GMT
- Lines: 19
-
- Hi.
-
- We have just gotten g++ up and running. We are all learning c++/g++. In my
- program that I have been writing while following the AT+T C++ Language System
- guide, I have been using the ifstream and ofstream classes for file i/o. These
- classes have overloaded the << and >> operators so that I can use them to
- properly stream and convert file data into selected variables. Is there an
- analogous class available in g++? I found the File class. It, however, did not
- seem to have the operator support that I was looking for. Thanks for your help.
-
- Steve
-
- --
-
- Steve Robertshaw curtech!swr@nic.unh.edu
- Current Technology (603) 868-2270
- 99 Madbury Rd.
- Durham, NH 03824
-
-