Guys,

I would love to look at C++ but the powers to be want C. I am but a mere worker 
bee

Scott ford
www.identityforge.com
from my IPAD

'Infinite wisdom through infinite means'


On Apr 23, 2013, at 10:03 AM, David Crayford <[email protected]> wrote:

> On 23/04/2013 9:37 PM, Charles Mills wrote:
>> In my experience strtok() is more trouble than it is worth.
>> 
>> For classic parm = value files my solution of choice is
>> http://www.boost.org/doc/libs/1_53_0/doc/html/program_options.html. I have
>> never used it on Z (despite the fact that I do a lot of C++ there) but use
>> it a lot on Windows. Not exactly what I would design, and takes some
>> learning curve, but I find it a good solution. It should compile on Z with
>> few or no problems.
> 
> If C++ is an option and boost is on the table then tokenizer is a better bet 
> http://www.boost.org/doc/libs/1_53_0/libs/tokenizer/
> 
>> Charles
>> 
>> -----Original Message-----
>> From: IBM Mainframe Discussion List [mailto:[email protected]] On
>> Behalf Of Scott Ford
>> Sent: Monday, April 22, 2013 3:21 PM
>> To: [email protected]
>> Subject: C question
>> 
>> All:
>>  I need some C help ..
>>  I am reading a file and need to Tokenize the file so i can examine the :
>>  Parm = Value ..
>>  I have tried strtok and works to a certain degree my problem comes when I
>> tried to strcmp the value to chaeck validity ...
>>  
>> ----------------------------------------------------------------------
>> For IBM-MAIN subscribe / signoff / archive access instructions,
>> send email to [email protected] with the message: INFO IBM-MAIN
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to