InterviewSolution
Saved Bookmarks
| 1. |
I Would Like To Use C++ Fstreams On A File Opened In Binary Mode, How Is This Done? |
|
Answer» USE ios::binary as the OPEN MODE for the FILE: #include ifstream binfile; binfile.open("myfile.bin", ios::binary); Use ios::binary as the open mode for the file: #include ifstream binfile; binfile.open("myfile.bin", ios::binary); |
|