home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!uwm.edu!ogicse!news.u.washington.edu!stein.u.washington.edu!lectro
- From: lectro@stein.u.washington.edu (Jonathan Maier)
- Newsgroups: comp.os.msdos.programmer
- Subject: Re: Very puzzling struct problem!
- Message-ID: <1992Nov22.040512.6906@u.washington.edu>
- Date: 22 Nov 92 04:05:12 GMT
- Article-I.D.: u.1992Nov22.040512.6906
- References: <1992Nov21.221745.23588@jarvis.csri.toronto.edu>
- Sender: news@u.washington.edu (USENET News System)
- Organization: University of Washington, Seattle
- Lines: 18
-
- In article <1992Nov21.221745.23588@jarvis.csri.toronto.edu> ematias@csri.toronto.edu (Ummm... me!) writes:
- >- having 16 integer variables in the struct would work.
- >- having 32 integer variables in the struct would work.
- >- having 48 integer variables in the struct would NOT work.
- >- having 64 integer variables in the struct would work.
- >- having 80 integer variables in the struct would NOT work.
- >- having 96 integer variables in the struct would NOT work.
- >- having greater than 96 ints in the struct would NOT work.
-
- It looks like the number of variables should be 2 raised to some power
- (ie- 16(=2^4), 32(=2^5), 64(=2^6), etc.). You'll probably notice that
- some things are more "efficient" if they map directly into the binary
- (base 2) scheme that the computer is based on.
-
- Jonathan E. Maier # ## # lectro@u.washington.edu
- ----------------------------- # ## # --------------------------------------
- Weekend Operator ## ## ## University of Washington
- UCS Operations ## ## ## Seattle, Washington
-