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 28
Hashing is a way to speed up access to an element in a table of data. Instead of
searching the table serially, you get a jumpstart to the likeliest element to contain
your value. This is achieved by loading the table carefully, and not in serial order
Usual first answer: Mark each element as you visit it; keep traversing; if you reach
an already marked element, the list has a cycle in it. Second constraint: The list is
in read-only memory, and you cannot mark elements. Usual second answer: ...
Keep doing this until a match is found, or all N elements have been compared to
each other. Final answer: First, eliminate the pathological case of a 3-element list
with a cycle from element 2 to 1. Keep two pointers. One at element 1 and the ...
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