Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > alt.os.development > #9244
| From | "Benjamin David Lunt" <zfysz@fysnet.net> |
|---|---|
| Newsgroups | alt.os.development |
| Subject | Re: misc comments |
| Date | 2016-03-03 12:08 -0700 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <nba24v$1rap$2@gioia.aioe.org> (permalink) |
| References | <nb5bmn$5aa$2@gioia.aioe.org> <20160302185854.0351de69@_> |
"Rod Pemberton" <NoHaveNotOne@bcczxcfre.cmm> wrote in message news:20160302185854.0351de69@_... > On Tue, 1 Mar 2016 17:21:22 -0700 > "Benjamin David Lunt" <zfysz@fysnet.net> wrote: > >> The text of the book, the body, or heart of the book is *not* >> coming along so well. It is hard to explain the details >> so that a beginner to programming can somewhat understand >> what is going on. It's a project where you really need >> some programming background to understand the subject. >> I have yet to find that knowledge level where the reader >> should be. If I assume the reader is fluent in C's Unions >> and Structures, the beginner will be lost. If I don't, >> a lot of the text is describing the C language. I find >> myself adding text and removing it, numerous times trying >> to find that line. Oh well, soon. :-) > > Well, they should understand structures if they've had > any high-level language. If they don't understand > unions, they might understand overlays, which is > similar to using a pointer to a typedef'd struct in > C, setting a pointer to the typedef, then accessing > items via the typedef's struct elements. A "union" > in an overlay setting would be setting multiple overlays > of different objects to the same region. My code uses a lot of unions, or as you comment, a better description would be overlays. Every item in the GUI is an overlay, so that a single OBJECT * pointer can be used for any item. It is then up to the callee to "extract" the data from the overlay. My difficulty stands where a beginning reader might not understand that a "Window object" and a "Text object" can have the exact same overlay. Ben
Back to alt.os.development | Previous | Next — Previous in thread | Find similar | Unroll thread
misc comments "Benjamin David Lunt" <zfysz@fysnet.net> - 2016-03-01 17:21 -0700
Re: misc comments "Alexei A. Frounze" <alexfrunews@gmail.com> - 2016-03-01 21:52 -0800
Re: misc comments "Benjamin David Lunt" <zfysz@fysnet.net> - 2016-03-02 10:28 -0700
Re: misc comments Rod Pemberton <NoHaveNotOne@bcczxcfre.cmm> - 2016-03-02 18:58 -0500
Re: misc comments "Benjamin David Lunt" <zfysz@fysnet.net> - 2016-03-03 12:04 -0700
Re: misc comments "Alexei A. Frounze" <alexfrunews@gmail.com> - 2016-03-02 23:41 -0800
Re: misc comments Rod Pemberton <NoHaveNotOne@bcczxcfre.cmm> - 2016-03-02 18:58 -0500
Re: misc comments "Benjamin David Lunt" <zfysz@fysnet.net> - 2016-03-03 12:08 -0700
csiph-web