Dear friends,
I wrote the program bellow. It opens a file, records 1 to 5 some times into
a file and close it. Then it opens the same file again, reads its contents
and close it.
First, I defined count from 1 to 5 (hex) getting correct results.
(See attached file: GeraOk.cpp)
Then, I defined count from 9 to d (hex) getting wrong results.
(See attached file: GeraOk.cpp)
I do not understand the reason. Could someone explain it and give a
solution.
Also, I could not get rid of the warning message. Which is the include file
that should be used in order to do not use a deprecated header?
Thanks for your help
Roger |