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 19
... is the C philosophy that the declaration of an object should look like its use. An
array of pointers-to-integers is declared by int * p; and an integer is referenced
or used in an expression by writing *p[i], so the declaration resembles the use.
Enums (enumerated types) are simply a way of associating a series of names
with a series of integer values. In a weakly typed language like C, they provide
very little that can't be done with a #define, so they were omitted from most early ...
int my_int; /* data definitions */ int * my_int_ptr; int my_int_array; Table 9-1
Common Uses ofArray/Pointer Actual Parameters Actual Argument in Call Type
Common Purpose func(&my_int ); Address of an integer “Call-by-reference” of an
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