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

How can I edit my VIM config so that Vim treats ".ejs" files the same as it currently treats my html files? -

Python __call__ special method practical example -