Mail Archives: djgpp/2000/08/16/08:15:15
Steven Watson <steven DOT watson AT ntlworld DOT com> wrote:
[...]
> Thanks for pointing out the non portability I dont have
> NT just win95 I will have to look for a portable way
> the code comes from a Tutorial on C circular 1994,
IMHO, you should seriously reconsider your choice of tutorial. That
one you're using is *not* a tutorial on C, but a tutorial on 'PC-C': a
strange dialect that legions of coders, who grew up with C on DOS
machines or read bad books or tutorials like the one you're looking
at, came to believe was 'the' C programming language. It isn't. In
particular, it isn't anywhere near portable, by definition.
There are still way too many books in the stores that claim to teach
C, but indeed teach PC-C (or, these days, Windows-C the even worse
contraption 'C/C++'). It pays off in the long term to avoid those like
the plague.
--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.
- Raw text -