Turbo C++ 3.0 bugs
Sean 'Captain Napalm' Conner
spc at conman.org
Wed Dec 14 16:55:26 CST 2005
It was thus said that the Great Tony Duell once stated:
> > Did you need to read the ports in the sequence H_ADDR2, H_ADDR1 and
> > H_ADDR0, or could they be read in any sequence? Because in C, parameters
> > are evaluated right to left ...
> Are they? That's news to me. I thought they could be evaluated in any
> order (or even in parallel).
I always thought they were, but then again, I know enough about C to avoid
the areas that are undefined or implementation dependent; I might have
gotten the parameter passing convention mixed up with that, because under
Pascal, parameters, as they appear on the stack, go left to right
(rightmost ends up at the top of the stack) whereas in C, it's right to left
(leftmost ends up at the top of the stack).
-spc (So C can have functions that have an unspecified number of
parameters, whereas Pascal can't ... )
More information about the cctech