¡@

Home 

c++ Programming Glossary: har

Store an int in a char array?

http://stackoverflow.com/questions/1522994/store-an-int-in-a-char-array

an int in a char array I want to store a 4 byte int in a char array... such.. an int in a char array I want to store a 4 byte int in a char array... such that the first 4 locations of the char array are.. in a char array... such that the first 4 locations of the char array are the 4 bytes of the int. Then I want to pull the int..

“Proper” way to store binary data with C++/STL

http://stackoverflow.com/questions/441203/proper-way-to-store-binary-data-with-c-stl

can tell pretty much boil down to using strings or vector char s. I'll omit the possibility of char s and malloc s since I'm.. strings or vector char s. I'll omit the possibility of char s and malloc s since I'm referring specifically to C . Usually.. the sanity of binary data. Does anyone have any pointers har on this Suggestions or preferences one way or another c stl..