how to get a certain part of a char array
let's say char buffer = "JOIN_QUEUE "
I want to get rid of the extra spaces at the end to strcmp() it.
How do I do that?
char* cmpmsg = buffer;
Would that be correct?
Topic archived. No new replies allowed.