چه کسانی این کتاب را می‌خوانند

دانشجوعلاقه‌مند یادگیری
کتابخوان حرفه‌ایلذت مطالعه
نویسندهالهام‌گیری

Effective C - An introduction to professional C programming.

Robert C. Seacord

قیمت نهایی

۴۰٬۰۰۰ تومان۴۹٬۰۰۰ تومان۱۸٪ تخفیف
  • تخفیف زمان‌دار−۹٬۰۰۰ تومان

۹٬۰۰۰ تومان صرفه‌جویی نسبت به قیمت اصلی

بلافاصله پس از خرید، فایل کتاب روی دستگاه شما آمادهٔ دانلود است.

تحویل فوری
پرداخت امن
ضمانت فایل
پشتیبانی

نسخه اصلی و اورجینال

فایل دیجیتال کامل و بدون دستکاری — همان نسخه‌ای که پس از خرید دریافت می‌کنید.

مشخصات کتاب

نویسنده
Robert C. Seacord
سال انتشار
۲۰۲۰
فرمت
PDF
زبان
انگلیسی
حجم فایل
۶٫۲ مگابایت
شابک
9781718501041، 9781718501058، 9785446118519، 1718501048، 1718501056، 5446118510

دربارهٔ کتاب

True pdf. Final release. ISBN-13: 978-1718501041. August 11th 2020. ------------------------- A detailed introduction to the C programming language for experienced programmers. The world runs on code written in the C programming language, yet most schools begin the curriculum with Python or Java. Effective C bridges this gap and brings C into the modern era--covering the modern C17 Standard as well as potential C2x features. With the aid of this instant classic, you'll soon be writing professional, portable, and secure C programs to power robust systems and solve real-world problems. Robert C. Seacord introduces C and the C Standard Library while addressing best practices, common errors, and open debates in the C community. Developed together with other C Standards committee experts, Effective C will teach you how to debug, test, and analyze C programs. You'll benefit from Seacord's concise explanations of C language constructs and behaviors, and from his 40 years of coding experience. You'll learn: • How to identify and handle undefined behavior in a C program • The range and representations of integers and floating-point values • How dynamic memory allocation works and how to use nonstandard functions • How to use character encodings and types • How to perform I/O with terminals and filesystems using C Standard streams and POSIX file descriptors • How to understand the C compiler's translation phases and the role of the preprocessor • How to test, debug, and analyze C programs Effective C will teach you how to write professional, secure, and portable C code that will stand the test of time and help strengthen the foundation of the computing world. ------------------------- Effective C: An Introduction to Professional C Programming is a concise introduction to essential C language programming that will have you writing programs, solving problems, and building working systems in no time. In this book, you’ll learn about essential programming concepts in C and practice writing high quality code with exercises for each topic. You’ll also learn about good software engineering practices for developing correct, secure C code. ---------------------------------------- Robert C. Seacord is a Technical Director with NCC Group where he works with software developers and software development organizations to eliminate vulnerabilities resulting from coding errors before they are deployed. Previously, Robert founded and led the secure coding initiative in the CERT Division of Carnegie Mellon University’s Software Engineering Institute (SEI). Robert is also an adjunct professor in the School of Computer Science and the Information Networking Institute at Carnegie Mellon University. Robert is the author of six other books, including “The CERT C Coding Standard, Second Edition” (Addison-Wesley, 2014), “Secure Coding in C and C++, Second Edition” (Addison-Wesley, 2013), and “Java Coding Guidelines: 75 Recommendations for Reliable and Secure Programs” (Addison-Wesley, 2014). Robert is on the Advisory Board for the Linux Foundation and an expert on the ISO/IEC JTC1/SC22/WG14 international standardization working group for the C programming language. ------------------------------------------ Brief Contents Contents in Detail Foreword by Pascal Cuoq Foreword by Ollie Whitehouse Acknowledgments Introduction A Brief History of C The C Standard The CERT C Coding Standard Who This Book Is For What’s in This Book Chapter 1: Getting Started with C Developing Your First C Program Compiling and Running Your Program Preprocessor Directives The main Function Checking Function Return Values Formatted Output Editors and Integrated Development Environments Compilers GNU Compiler Collection Clang Microsoft Visual Studio Portability Implementation-Defined Behavior Unspecified Behavior Undefined Behavior Locale-Specific Behavior and Common Extensions Summary Chapter 2: Objects, Functions, and Types Objects, Functions, Types, and Pointers Declaring Variables Swapping Values (First Attempt) Swapping Values (Second Attempt) Scope Storage Duration Alignment Object Types Boolean Types Character Types Numerical Types void Types Function Types Derived Types Pointer Types Arrays Structures Unions Tags Type Qualifiers const volatile restrict Exercises Summary Chapter 3: Arithmetic Types Integers Padding and Precision The Header File Declaring Integers Unsigned Integers Signed Integers Integer Constants Floating-Point Floating-Point Types Floating-Point Arithmetic Floating-Point Values Floating-Point Constants Arithmetic Conversion Integer Conversion Rank Integer Promotions Usual Arithmetic Conversions An Example of Implicit Conversion Safe Conversions Summary Chapter 4: Expressions and Operators Simple Assignment Evaluations Function Invocation Increment and Decrement Operators Operator Precedence and Associativity Order of Evaluation Unsequenced and Indeterminately Sequenced Evaluations Sequence Points sizeof Operator Arithmetic Operators Unary + and – Operators Logical Negation Operator Multiplicative Operators Additive Operators Bitwise Operators Complement Operator Shift Operators Bitwise AND Operator Bitwise Exclusive OR Operator Bitwise Inclusive OR Operator Logical Operators Cast Operators Conditional Operator _Alignof Operator Relational Operators Compound Assignment Operators Comma Operator Pointer Arithmetic Summary Chapter 5: Control Flow Expression Statements Compound Statements Selection Statements The if Statement The switch Statement Iteration Statements The while Statement The do...while Statement The for Statement Jump Statements The goto Statement The continue Statement The break Statement The return Statement Exercises Summary Chapter 6: Dynamically Allocated Memory Storage Duration The Heap and Memory Managers When to Use Dynamically Allocated Memory Memory Management Functions The malloc Function The aligned_alloc Function The calloc Function The realloc Function The reallocarray Function The free Function Memory States Flexible Array Members Other Dynamically Allocated Storage The alloca Function Variable-Length Arrays Debugging Allocated Storage Problems Dmalloc Safety-Critical Systems Exercises Summary Chapter 7: Characters and Strings Characters ASCII Unicode Source and Execution Character Sets Data Types Character Constants Escape Sequences Linux Windows Character Conversion Strings String Literals String-Handling Functions and Annex K Bounds-Checking Interfaces POSIX Microsoft Summary Chapter 8: Input/Output Standard I/O Streams Stream Buffering Predefined Streams Stream Orientation Text and Binary Streams Opening and Creating Files The fopen Function The POSIX open Function Closing Files The fclose Function The POSIX close Function Reading and Writing Characters and Lines Stream Flushing Setting the Position in a File Removing and Renaming Files Using Temporary Files Reading Formatted Text Streams Reading to and Writing from Binary Streams Summary Chapter 9: Preprocessor The Compilation Process File Inclusion Quoted and Angle Bracket Include Strings Conditional Inclusion Generating Errors Using Header Guards Macro Definitions Macro Replacement Type-Generic Macros Predefined Macros Summary Chapter 10: Program Structure Principles of Componentization Coupling and Cohesion Code Reuse Data Abstractions Opaque Types Executables Linkage Structuring a Simple Program Building the Code Summary Chapter 11: Debugging, Testing, and Analysis Assertions Static Assertions Runtime Assertions Compiler Settings and Flags GCC and Clang Visual C++ Debugging Unit Testing Static Analysis Dynamic Analysis AddressSanitizer Exercises Summary References Index A Detailed Introduction To The C Programming Language For Experienced Programmers. The World Runs On Code Written In The C Programming Language, But Most Computer Science Programs Only Teach Java Or Python As An Introductory Language. This Book Is For Developers Who Already Know How To Program And Want To Quickly Come Up To Speed On Professional Programming In C. They'll Learn How To Develop Correct, Portable, Professional-quality Code And Build A Foundation For Developing Security-critical And Safety-critical Systems. Written By Renowned Author Robert Seacord, C As A Second Language Is An In-depth Look At The C Programming Language. Seacord Introduces The Language's Basic Data Types And Code Structures While Simultaneously Addressing Best Practices, Common Errors, And Open Debates In The C Community. Readers Will Also Learn How To Debug, Test, And Analyze C Programs And Benefit From Detailed Yet Concise Explanations Of C Language Constructs And Behaviors Readers Will Learn: * How To Identify And Handle Undefined Behavior In A C Program * The Range And Representations Of Integers And Floating-point Values * How Integer Promotions Are Performed And How They May Affect Portability * The Order Of Evaluation Of Expressions * Dynamic Memory Allocation Including The Use Of Non-standard Functions * The Philosophy Underlying The Use Of Character Types In C * Character Encodings And Types * How To Perform Input/output (i/o) With Terminals And File Systems Using C Standard Streams And Posix File Descriptors * The Translation Phases Implemented By The C Compiler And The Role Of The Preprocessor * Testing, Debugging, And Analyzing C Programs Developed In Collaboration With C Standard Committee Experts, C As A Second Language Will Teach Developers How To Write Correct, Portable, Professional-quality C Code. "An in-depth guide for developers who already know how to program and want to quickly come up to speed on professional programming in C. It introduces the language's basic data types and code structures ; addresses best practices and common errors ; and teaches how to debug, test, and analyze C programs"--Provided by publisher "An in-depth guide for developers who already know how to program and want to quickly come up to speed on professional programming in C. It introduces the language's basic data types and code structures ; addresses best practices and common errors ; and teaches how to debug, test, and analyze C programs" Provided by publisher

قیمت نهایی

۴۰٬۰۰۰ تومان