From: Hans-Bernhard Broeker Newsgroups: comp.os.msdos.djgpp Subject: Re: Stupid DJGPP questions Date: 18 Dec 2000 12:40:17 GMT Organization: Aachen University of Technology (RWTH) Lines: 20 Message-ID: <91l0jh$hcs$1@nets3.rz.RWTH-Aachen.DE> References: <000201c06898$cc564f20$735c149a AT mitchllistar DOT ca> NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de X-Trace: nets3.rz.RWTH-Aachen.DE 977143217 17820 137.226.32.75 (18 Dec 2000 12:40:17 GMT) X-Complaints-To: abuse AT rwth-aachen DOT de NNTP-Posting-Date: 18 Dec 2000 12:40:17 GMT Originator: broeker@ To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Kevin Mitchell wrote: > I am (slowly!) working my way through "The C++ Programming Language" and > have been having difficulty with any question that invovles "how does your > compiler behave?" [...] > What, on your system, are the restrictions on the pointer types char*, > int*, and void*? For example, may and int have an odd value? Hint: > alignment. Sigh... and I had thought a book as widely respected as this one would know better than to meddle useless implementation details with those of the subject programming language. You do not need to know the answer to any of these questions to write good C or C++ code. Actually, your code will probably be better if you *don't* know the answers to these questions. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.