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 20
In ANSI C, arguments are not promoted if a prototype is used; otherwise, they are.
Widened arguments are trimmed down to their declared size in the called
function. This is why the single printf() format string “%d” works for all the different
All arguments became a standard size, and the callee would narrow them if
necessary. In contrast, if you use a function prototype, the default argument
promotions do not occur. If you prototype something as a char, a char actually
The compiler will detect the mismatch of olddef() because it now sees the
prototype and K&R definition together. If you place the definition of newdef()
before it is called, the compiler will silently do the right thing because the
definition acts as a ...
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