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

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -