convert uint vector to string vector
int convert_uint_vector_to_string_vector( const vector<uint> & vn, vector<string> & vs )
the number of converted items
EX1
void convert_uint_vector_to_string_vector_ex1() { vector<string> strVec; vector<uint> unVec = {1,0,3,2,10,255,1024,8}; int nRet = convert_uint_vector_to_string_vector(unVec , strVec ); if(nRet) { printf("%d items converted :\n" , nRet); for(int ii = 0; ii < strVec.GetSize() ; ii++) printf("%s " , strVec[ii]); printf("\n"); } else printf("Convert failed"); }
convert_int_vector_to_string,
origin.h