[comp.lang.c] _Programming with Turbo C_ Errors

jerry@starfish.Convergent.COM (Gerald Hawkins) (10/11/88)

For anyone using the manual _Programming with Turbo C_, by Scott Zimmerman:

This is a fairly good supplemental manual for Turbo C 1.5.  I am learning C
the fun way (self taught) using this and one other manual.

However, there are 4 errors in the manual which I have noticed so far:

Page 156:
the expression  8 / 2 * 2 is stated to evaluate to 2.  Should be 8.
(ie, (8 / 2) * 2).

Page 157:
++var1;  the book says this is the same as var = var =1.
Should be var1 = var1 + 1;

Page 176:
There is a statement:   printf("%s\n, string)
Should be:              printf("%s\n", string);

Page 183:  
There is a statement:   ... scanf("%d %f %c %f" ...
Should be:              ... scanf("%d %f %c %s" ...
Of course they should add a warning that using such a complicated scanf will
surely get the programmer into trouble ...


If anyone knows of any further errors in this book, kindly post them or mail
to me at the address below.




These opinions are mine.
Jerry.  (jerry@Starfish.Convergent.COM)
-----