c++ - strtok problems on different versions of Xcode -
when change xcode i'm using program in c behavior of following code changes same input data:
char * aux = strtok (message,utilities::constants::serialization_separator); int i=0; while (aux != null) { spliteddata[i]=aux; i++; aux = strtok (null,utilities::constants::serialization_separator); }
so in xcode 5 gives splitted string in xcode 4.2 doesn't. believe should has charset not know. message char * , parameter of function on code embedded.
thanks in advance
Comments
Post a Comment