home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!sun-barr!ames!uakari.primate.wisc.edu!usenet.coe.montana.edu!rpi!batcomputer!lynx.msc.cornell.edu!revesz
- From: revesz@msc.cornell.edu (Peter Revesz)
- Newsgroups: comp.os.msdos.programmer
- Subject: far struct - how to do it ?
- Message-ID: <1992Jul29.125835.14342@msc.cornell.edu>
- Date: 29 Jul 92 12:58:35 GMT
- Sender: news@msc.cornell.edu
- Distribution: comp.os.msdos.programmer
- Organization: Cornell-Materials-Science-Center
- Lines: 37
-
- Hi, Netters,
-
- My global data is basicly in structures. To avoid
- compile-time error message (global data >64 Kb) I have
- to make all global far.
-
- How to make a struct far?
-
- This way:
-
- struct one {
- int far a[100];
- double far b[2000];
- } one;
-
- or this way:
-
- struct two {
- int a[100];
- double b[2000];
- } far two;
-
-
- or this way?
-
- struct three {
- int far a[100];
- double far b[2000];
- } far three;
-
-
- Which the proper way to create far structs?
- Any help will be appreciated.
-
- Peter Revesz
-
- revesz@msc.cornell.edu
-