Re: Treating a character string array pointer as a stream

From: Tseran (Tseran@SexMagnet.com)
Date: 12/02/02


On Monday, December 2, 2002, at 05:41  PM, Ronald Fenner wrote:
> you would need to rewrite them since they expect to have a file passed
> to them to read some data from, though you could always modify them to
> have either a string buffer or a file passed to them to get the data
> from. passing a string buffer you would just need to skip the reading
> from the file and possible copy the amount of data being read at a time
> from the string that was passed.

Yeah, this is probably what I am going to have to do.  However, I am
not sure where to start on this.  From what I have seen, and from what
Patrick and someone on IRC suggested, looks like I am going to need to
take the strtok function for a ride.  Weeee!  I get to play with new
code :D  I will post them here after if anyone wants to use them or
point out where I messed up.
--
Now with PGP Encryption!  Ask for your public key TODAY!

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/25/03 PDT