[prog] simple c++ question

Jimen Ching jching at flex.com
Mon Jun 23 09:39:34 EST 2003


On Mon, 23 Jun 2003, Sue Stones wrote:
>So if you are reading a file line by line
>and trying to keep the tokens from all lines this won't work.

Right.  The sample code didn't include details of how the resulting array
is used, so I didn't consider all possible usage.  Yes, sooner or later,
the data needs to be copied out of the static variable.

--jc
-- 
Jimen Ching (WH6BRR)      jching at flex.com     wh6brr at uhm.ampr.org


More information about the Programming mailing list