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

Python __call__ special method practical example -

arrays - jQuery - Retrieve values from HTML elements and return their sum -