Topic: How to filter out the numbers from charactor string standard input?
Author: mojemj@unidhp.uni-c.dk (Mogens Jensen)
Date: 6 Feb 1995 00:38:00 GMT Raw View
Sorry, I don't have my compiler (or iostream.h) at hand right now, but I
think you could derive from ..., and then write your own whitespace function
- if it is declared as virtual in the ... class.
I don't known if this is the right approach: is a stream that filters
characters away a different class than one that doesn't? Are there any
other way? (you could use the filebuf members directly, writing your own
extraction functions, or make a new filebuf, or ..., but that isn't the
right way)
Try it out.
Greetings from Jens Jakob Jensen (Using my fathers account)
Author: szhan@undergrad.math.uwaterloo.ca (Philip Siming Zhan)
Date: Tue, 31 Jan 1995 20:52:05 GMT Raw View
I am a newbie to C/C++ and I hope that I addressed my following
problems properly.