home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / msdos / programm / 11440 < prev    next >
Encoding:
Internet Message Format  |  1992-12-16  |  1.2 KB

  1. Path: sparky!uunet!cs.utexas.edu!sun-barr!news2me.EBay.Sun.COM!cronkite.Central.Sun.COM!texsun!digi!iex!rocker!doug
  2. From: doug@rocker.uucp (Doug Luecke)
  3. Newsgroups: comp.os.msdos.programmer
  4. Subject: Reading QuickBasic (MBF) floating point numbers from C/C++
  5. Message-ID: <1992Dec14.170554.10433@rocker.uucp>
  6. Date: 14 Dec 92 17:05:54 GMT
  7. Organization: Terzon Systems, Inc.,   Richardson, Texas
  8. Lines: 17
  9.  
  10. I need to convert floating point numbers stored in Microsoft Binary Format 
  11. (MBF) to the native float type used by Borland C++.  The project I'm
  12. currently working on needs to manipulate data read from files created by a
  13. Quick Basic program.  This data consists of integers, strings, and floating
  14. point numbers.  The floats aren't compatible with the native BCC format.
  15.  
  16. Does anyone know the format of the floating point numbers used by Quick
  17. Basic in MBF?  Is there any C or C++ code around that can convert MBF
  18. floats into native float numbers?  I can also write the routines myself
  19. if I can get my hands on some documentation on the MBF float format.
  20.  
  21. Thanks muchly,
  22. doug
  23. -- 
  24. Doug Luecke                      UUCP:      uunet!iex!rocker!doug
  25. Terzon Systems, Inc.             INTERNET:  iex!rocker!doug@uunet.uu.net
  26. Richardson, Texas                MABELL:    214/234-8222
  27.