Mail Archives: djgpp/2000/12/18/07:57:39
Kevin Mitchell <mitchll AT istar DOT ca> 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.
- Raw text -