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 14
They matter because the details make the difference between a reliable
language and an error-prone one. This was dramatically revealed in Summer
1961 by a programmer at NASA, testing a Fortran subroutine used to calculate
The designers of Fortran intended this to help cardpunch walloppers and to aid
the readability of programs, so you could have ... the compiler quite correctly read
the statement as DO10I = 1.10 Variables do not have to be declared in Fortran.
Some people (primarily Fortran programmers) have extended this technique the
other way. By passing in an address that is one before the start of the array ( a[-1]
), you can effectively give the array an index range of 1 to N, instead of 0 to N - 1 ...
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