🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.help
Article #113

g++ / c++ ifstream Class

#113
From: Steve Robertshaw
Date: Wed, 22 Jul 1992 19:30
18 lines
1140 bytes
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
Technical Details
Message-ID: <9207221929.AA07173@ctnet>
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!mips!mips!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!curtech.UUCP!swr

Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.help,comp.lang.c++
Path: arc1-ca.pugleaf.net!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