Mail Archives: djgpp/2000/08/16/15:45:25.1
Hi Hans-Bernhard,
I can sort of program C but in windows even to directx, I just have no
PC-dos
programming experience,I did learn the c syntax using console mode but
not at any advanced level ie windowing /colouring text,the tutorial is
the
first I have seen that has taught me about windowing/screen modes ect ,
I know people will say I am going backwards but I want to learn how to
program in dos,ok by using win32 there is no use of near/far pointers
so this is first time I have had to use segment/offset something that is
new to me.If you know of a book that would serve me well I would be
very interested to find more information on windowing type programs
similar to rhide to get me started.
Regards
Steven Watson
Hans-Bernhard Broeker wrote:
>
> 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 -