ios::out erases an existing file. So if you open an existing file with that option, then seekp to a position, all bytes before that position are filled with 0x0.
It's not Philip Nicoletti's...
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Search:Type: Posts; User: Richard.J Search: Search took 0.17 seconds.
Results 1 to 1 of 2
|
Click Here to Expand Forum to Full Width |