![]() |
Binary File Error
The code compiles but does not record (or) show the data properly. It only displays the last entered data. I couldn't figure out what exactly is wrong.
I would really appreciate any help HTML Code:
#include <iostream> |
Re: Binary File Error
Shouldn't printData move to the beginning of the file _before_ reading anything from it?
Have you checked there are multiple rows of data in the file when you call printData (e.g. by viewing it in Notepad or similar)? |
| All times are GMT +5.5. The time now is 14:20. |