Expert C Programming: Deep C Secrets
SunSoft Press, 1994 - 353 strani
Written for experienced C programmers who want to quickly pick up some of the insights and techniques of experts and master the fine arts of ANSI C, this volume passes on the wisdom of a highly experienced C compiler writer and his colleagues to help programmers reach new heights, and avoid common software pitfalls along the way. Covers topics that many C Programmers find confusing and features one of the best introductions to C++ and the rationale behind it.
Zadetki 1–3 od 13
Under K & R C , since a function argument is an expression , type promotion
takes place there , too . In ANSI C , arguments are not promoted if a prototype is
used ; otherwise , they are . Widened arguments are trimmed down to their
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 gets passed . If
you use the new - style function definition ( where argument types are given in
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 ...
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
The Structure of the ANSI C Standard
How Quiet is a Quiet Change?
Its Not a Bug Its a Language Feature
15 preostalih delov ni prikazanih