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 8
... the array , you simply add the subscript to the address that the symbol table
shows a has , and get what's at that location . In contrast , if you declare extern
char * p Chapter 4 • The Shocking Truth : C Arrays and Pointers Are NOT the
You do an indirect reference as in diagram 2 , then you step forward to the offset
represented by the subscript as in diagram 1. More formally , the compiler emits
code to : 1. Get the address that p represents , and retrieve the pointer there . 2.
You can apply a subscript to a pointer ; you typically do this when the pointer is a
function argument , and you know that you will be passing an array in . 3. An
array declaration in the specific context ( only ) of a function parameter can
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