Jump to content
  • Advertisement


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


strtok want to code bsp compiler

This topic is 5934 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!