Expert C Programming: Deep Secrets
Prentice Hall, 14. jun. 1994 - 384 strani
This book is for the knowledgeable C programmer, this is a second book that gives the C programmers advanced tips and tricks. This book will help the C programmer reach new heights as a professional. Organized to make it easy for the reader to scan to sections that are relevant to their immediate needs.
Zadetki 1–3 od 13
After weeks of analysis, it was determined that the problem was in the software,
but it was a transcription error in the algorithm rather than a program bug. In other
words, the program had done what the programmer had supposed, but he had ...
In this case, if a and b point to overlapping objects, the algorithm fails.
Additionally, the algorithm can't even be applied if one of the values to be
swapped is in a register or is a bitfield, since you can't take the address of a
bitfield or a register.
Also, convince yourself that the algorithm will terminate if there is no loop. Hint:
write the program, and extrapolate from there. What Are the Different C Increment
Statements For? Consider the four C statements below: x = x+1; /* regular */ ++x;
Mnenja - Napišite recenzijo
LibraryThing ReviewUporabnikova ocena - kalafjj - LibraryThing
A very enjoyable read. Not only will you learn aspects of C in great detail (the section on pointers vs. array is excellent), but the author writes in a witty manner I haven't typically found in programming books. (The style reminded me a bit of Programming Perl by Larry Wall.) Celotno mnenje
1 C Through the Mists of Time
2 Its Not a Bug Its a Language Feature
3 Unscrambling Declarations in C
10 preostalih delov ni prikazanih