I am writing a Visual C++ program which converts data which was stored in a Turbo Pascal 7.0 structure containing character data and reals and written directly to disk. How do you convert the 6-bytes real Pascal number to a usable C++ floating point number?
Turbo pascal structure stored on disk :
memrec = record
ItWht : real
Visual C++ record using CFile to read
typedef struct test