N
Nils Wogatzky
Hi,
I´ve got a problem with the iftream.read method.
I´m reading out a binary file, but I receive wrong values if
values are negative.
m_File.read((char*)&help2,2);
so, help2 is datatype signed int
but if the stored value is -1 help2 is 65535
there´s something wrong with the cast I think,
but I don´t know exactly how to handle it.
I think you now!
thank you
Nils
I´ve got a problem with the iftream.read method.
I´m reading out a binary file, but I receive wrong values if
values are negative.
m_File.read((char*)&help2,2);
so, help2 is datatype signed int
but if the stored value is -1 help2 is 65535
there´s something wrong with the cast I think,
but I don´t know exactly how to handle it.
I think you now!
thank you
Nils