Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > Small C Parser

Reply
Thread Tools

Small C Parser

 
 
Ja0009
Guest
Posts: n/a
 
      10-19-2003
Hello C Programmers,
I posted my SOS question while ago,
I am close to solution, what is left over is part where
I need to test for array or string or pointer
when testing what kind of values it contains and
than output my outcome.
What is the best way to test for values in this rules.txt
(code bellow)
Should I use array[x] / fgets approach
or there is more efficient way?
Can you give me some examples PLEASE.
Thanks all.

[Case1]
9,5 = 70435
186,6 ="SELKOW"
86,3 ="ACC"
[Case2]
9,4 = 4330
22,2 <> "GY"
112, 2 = 18

where
9,5 = 70435
means that from character 9 next 5 char are 70435
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
import parser does not import parser.py in same dir on win Joel Hedlund Python 2 11-11-2006 03:46 PM
import parser does not import parser.py in same dir on win Joel Hedlund Python 0 11-11-2006 11:34 AM
XML Parser VS HTML Parser ZOCOR Java 11 10-05-2004 01:58 PM
XMLparser: Difference between parser.setErrorHandler() vs. parser.setContentHandler() Bernd Oninger Java 0 06-09-2004 01:26 AM
XMLparser: Difference between parser.setErrorHandler() vs. parser.setContentHandler() Bernd Oninger XML 0 06-09-2004 01:26 AM



Advertisments