- Created Thursday, March 20th 2014 @ 20:39:28
I am programming my bot in c++ and I am running into an irritating problem. I cant seem to find a viable way of separating the input I get from the server by white space. I tried sending the input to a character array then tokenizing the array and I could get that to work as long as i did not input any text with the "_" character used to represent a space.
The only other thing I can think to do now is take the input, remove all the underscores then tokenize the character array.
surely there is a better way than this?
i think i am making it way more complicated than it has to be.
What did you use?
- Created Thursday, March 20th 2014 @ 20:58:33
ok, i just found why i couldn't put an underscore into my tokens.. all is good now haha