وبلاگ بلیان

C traps and pitfalls

معرفی کتاب «C traps and pitfalls» نوشتهٔ Andrew Koenig، منتشرشده توسط نشر Addison-Wesley Professional در سال 1988. این کتاب در 161 صفحه، فرمت pdf، زبان انگلیسی ارائه شده است. «C traps and pitfalls» در دستهٔ برنامه‌نویسی قرار دارد.

Even C experts come across problems that require days ofdebugging to fix. This book helps to prevent such problems byshowing how C programmers get themselves into trouble. Each ofthe book's many examples has trapped a professional programmer. In addition to its examples, C Traps and Pitfalls offers adviceon: *avoiding off-by-one errors *understanding and constructing function declarations *understanding the subtle relationship between pointers andarrays Distilled from the author's experience over a decade ofprogramming in C, this book is an ideal resource for anyone,novice or expert, who has ever written a C program. 0201179288B04062001 Amazon.com Review C Traps and Pitfalls teaches how the peculiarities of the C language make it easy for the intended behavior of a program and the actual behavior of a program to differ. The book's experienced author, Koenig, follows up with examples and helpful advice on many of these "pitfalls." Each chapter includes exercises for contemplation with accompanying discussions at the end of the book. Even experienced C programmers can get themselves into trouble if they're not certain of what they're doing. Each of the book's many examples has trapped a professional programmer. C Traps and Pitfalls aims to encourage defensive programming by showing how other people, even experienced professionals, have gotten themselves into trouble. These mistakes are generally easy to avoid once seen and understood, so the emphasis is on specific examples rather than generalities. Covers lexical, syntactic, and semantic pitfalls, linking and library problems, preprocessor, and portability pitfalls. Even C experts come across problems that require days of debugging. This book helps to prevent such problems by showing how C programmers get themselves into trouble. The book offers advice on: avoiding off-by-one errors, understanding and constructing function declarations, understanding the relationship between pointers and arrays Advice -- Answers -- Appendix: Printf, Varargs, And Stdarg -- The Printf Family -- Simple Format Types -- Modifiers -- Flags -- Variable Field Width And Precision -- Neologisms -- Anachronisms -- Variable Argument Lists With Varargs.h -- Implementing Varargs.h -- Stdarg.h: The Ansi Varagrs.h. Andrew Koenig. Includes Index. Even C experts come across problems that require days of debugging to fix. This book helps to prevent such problems by showing how C programmers get themselves into trouble. Each of the book's many examples has trapped a professional programmer.
دانلود کتاب C traps and pitfalls