¡@

Home 

c++ Programming Glossary: u_array

Copying non null-terminated unsigned char array to std::string

http://stackoverflow.com/questions/4691608/copying-non-null-terminated-unsigned-char-array-to-stdstring

this would be pretty straight forward unsigned char u_array 4 'a' 's' 'd' ' 0' std string str reinterpret_cast char u_array.. 4 'a' 's' 'd' ' 0' std string str reinterpret_cast char u_array std cout str std endl However I wonder what is the most appropriate.. unsigned char array like the following unsigned char u_array 4 'a' 's' 'd' 'f' into a std string . Is there any way to do..