home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / msdos / programm / 8146 < prev    next >
Encoding:
Text File  |  1992-07-29  |  973 b   |  49 lines

  1. Path: sparky!uunet!sun-barr!ames!uakari.primate.wisc.edu!usenet.coe.montana.edu!rpi!batcomputer!lynx.msc.cornell.edu!revesz
  2. From: revesz@msc.cornell.edu (Peter Revesz)
  3. Newsgroups: comp.os.msdos.programmer
  4. Subject: far struct - how to do it ?
  5. Message-ID: <1992Jul29.125835.14342@msc.cornell.edu>
  6. Date: 29 Jul 92 12:58:35 GMT
  7. Sender: news@msc.cornell.edu
  8. Distribution: comp.os.msdos.programmer
  9. Organization: Cornell-Materials-Science-Center
  10. Lines: 37
  11.  
  12. Hi, Netters,
  13.  
  14. My global data is basicly in structures. To avoid
  15. compile-time error message (global data >64 Kb) I have
  16. to make all global far.
  17.  
  18. How to make a struct far?
  19.  
  20. This way:
  21.  
  22. struct one {
  23.     int far a[100];
  24.     double far b[2000];
  25. } one;
  26.  
  27. or this way:
  28.  
  29. struct two {
  30.     int a[100];
  31.     double b[2000];
  32. } far two;
  33.  
  34.  
  35. or this way?
  36.  
  37. struct three {
  38.     int far a[100];
  39.     double far b[2000];
  40. } far three;
  41.  
  42.  
  43. Which the proper way to create far structs?
  44. Any help will be appreciated.
  45.  
  46. Peter Revesz
  47.  
  48. revesz@msc.cornell.edu
  49.