Expert C Programming: Deep C SecretsWritten 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. |
Iz vsebine knjige
Zadetki 1–3 od 24
Stran 181
The heap area is for dynamically allocated storage , that is , storage obtained
through malloc ( memory allocate ) and accessed through a pointer . Everything
in the heap is anonymous — you cannot access it directly by name , only
indirectly ...
The heap area is for dynamically allocated storage , that is , storage obtained
through malloc ( memory allocate ) and accessed through a pointer . Everything
in the heap is anonymous — you cannot access it directly by name , only
indirectly ...
Stran 183
If you use malloc , malloc expects to have sole control over when brk and sbrk
are called . Since sbrk provides the only way for a process to return data segment
memory to the kernel , if you use malloc you are effectively prevented from ever ...
If you use malloc , malloc expects to have sole control over when brk and sbrk
are called . Since sbrk provides the only way for a process to return data segment
memory to the kernel , if you use malloc you are effectively prevented from ever ...
Stran 266
The entire array is guareed to be stored in contiguous memory in the order that C
allocates static arrays . It reduces the bookkeeping overhead of calls to malloc ,
but prevents you from freeing an individual string when you're done with it .
The entire array is guareed to be stored in contiguous memory in the order that C
allocates static arrays . It reduces the bookkeeping overhead of calls to malloc ,
but prevents you from freeing an individual string when you're done with it .
Mnenja - Napišite recenzijo
LibraryThing Review
Uporabnikova ocena - kalafjj - LibraryThingA 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
Vsebina
The Structure of the ANSI C Standard | 17 |
How Quiet is a Quiet Change? | 25 |
Its Not a Bug Its a Language Feature | 31 |
Avtorske pravice | |
15 preostalih delov ni prikazanih
Druge izdaje - Prikaži vse
Pogosti izrazi in povedi
actually address space allocated allows ANSI application argument array assignment base bytes cache cause chapter char character compiler const contains contents Continued create data structures declaration define definition dynamic element error example executable expression Figure float Fruit function give identifier implementation inheritance initial it's keyword known language limit linked look machine means memory method object operand operator parameter passed pointer precedence problem prototype reference result routine rule runtime segment shows signal space specified stack standard statement static step string struct structure SunOS symbol tell thing UNIX unsigned usually variable virtual void write