C++ and STL question
does anybody know, how to create string with the buffer, where the 0x00 charachter presend inside the string?
I tried to use string (const char *, int length), but without any luck :(
Why do i need this? Well, i have the apcket of data read from the socket, this packet contains the 0x00 charachters inside,
which separates the logical data elements from each other. So now i have to parse this input tnd get something like
vector from this data packet.
I tried to use string (const char *, int length), but without any luck :(
Why do i need this? Well, i have the apcket of data read from the socket, this packet contains the 0x00 charachters inside,
which separates the logical data elements from each other. So now i have to parse this input tnd get something like
vector
