Article View: comp.os.msdos.programmer
Article #6622Re: Very puzzling struct problem!
From: Jonathan Maier
Date: Sun, 22 Nov 1992 04:05
Date: Sun, 22 Nov 1992 04:05
18 lines
1649 bytes
1649 bytes
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
Technical Details
Message-ID:
<1992Nov22.040512.6906@u.washington.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!uwm.edu!ogicse!news.u.washington.edu!stein.u.washington.edu!lectroReferences:
<1992Nov21.221745.23588@jarvis.csri.toronto.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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