At 11:26 2007-01-07, yaso21101975 wrote:
>hi all
>i use visual c++ under windows and i want to know how to use ifstream
>and ofstream to read and write binary data to a file

IF you're still using <fstream.h> you are NOT using the latest 
VC++.....go get it it's free and it's called vs2005 express.

then when you open, you use   ios::binary in addition to whatever 
other options you're using




>To unsubscribe, send a blank message to 
><mailto:[EMAIL PROTECTED]>.
>Yahoo! Groups Links
>
>
>

Victor A. Wagner Jr.      http://rudbek.com
The five most dangerous words in the English language:
               "There oughta be a law" 

Reply via email to