Parsing a document , C -


i need parse document in c language. use strtok function don't know if it's best method or if token system enough (searching \n, space etc).

the structure of each line of document : element \n element "x".

thanks :-)

token system if fine, strtok implementation of that. however, you're better off using strtok_r not keep internal state outside control of program.


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -