Re: [Dev-C++] A bit stumped on binary files
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Ewald H. <in...@ho...> - 2004-05-22 21:53:06
|
> No conversion is needed. Actually, your problem is that you ARE > converting it to a string. The << operator is overloaded to convert the > integer in a string representation of the value. You should be using the > .write() method of the stream. > > Check this: > http://www.cplusplus.com/ref/iostream/ostream/write.html Awesome! Funny my C++ manual does not mention this write method. Guess it's time for a new one then. Thank you for all the answers. Thank you Ewald Horn Proprietor/Eienaar : Horn Labs Cell/Sel : 083 519 1615 Website : http://www.hornlabs.co.za Email/E-pos : in...@ho... |