1) in your open statement you have : ios::ate ... so the stream position is set to the
end of the file. Therefore, no values will be read.
2) in your for statement at the end, you are using : 200 ... it should be sample.size()
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 4 of 4
Threaded View
|
Click Here to Expand Forum to Full Width |