Archived

This topic is now archived and is closed to further replies.

Basiror

strtok want to code bsp compiler

Recommended Posts

ok i need to write a bsp compiler but i need to know the following void AnalyseBuffer(char *buffer) { char *line=strtok(buffer,"\n"); } when i pass the buffer which is a large string with coordinate into the strtok then it should export the tokens between every "\n" right? ok but the question is does strtok delete the exported token out of the *buffer?

Share this post


Link to post
Share on other sites