Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!zaphod.mps.ohio-state.edu!think.com!masscomp!ocpt!tsdiag!ticnj!srs From: srs@ticnj.UUCP (Scott Strool) Newsgroups: comp.lang.c++ Subject: Stream library Keywords: streams istrstream scanf Message-ID: <945@ticnj.UUCP> Date: 20 Mar 91 21:30:42 GMT Organization: IEX Corporation Red Bank, NJ Lines: 14 I am trying to use the 2.0 streams library to implement a simple scanf type routine. Basically I have an array of characters from an istream and want to parse the array delimited by the colon. The array has several fields and I want to get each into its own variable. How is this done with istrstream. I can get istrstream to read an entire line but how do you tell istrstream to read until a specific character or a predetermined length. -- Scott Strool (908) 747-4700 srs@iex.com IEX Corporation 125 Half Mile Rd. "Strange but not a Stranger" Red Bank, NJ 07701