
عنوان:
Effective C, 2nd Edition
نویسنده:
Robert C. Seacord
انتشارات:
Penguin Random House LLC (Publisher Services)
تاریخ انتشار:
2025
حجم:
6.57MB
معرفی کتاب:" C مؤثر – ویرایش دوم: مقدمهای بر برنامهنویسی حرفهای با زبان C"
کتاب Effective C در ویرایش دوم خود، بهصورت کامل مطابق با استاندارد C23 بهروزرسانی شده است و مرجعی نوین برای یادگیری زبان C به شیوهای حرفهای، ایمن و بهینه فراهم میکند. این کتاب شما را در مسیر نوشتن کدهایی کاربردی، مقاوم و با عملکرد بالا راهنمایی میکند.
آنچه در این کتاب خواهید آموخت:
- نوشتن کدهای سریع، ایمن و قابل اطمینان به زبان C
- استفاده مؤثر از توابع، انواع داده و اشیاء
- مدیریت دقیق اعداد صحیح و اعشاری
- مدیریت حافظهی پویا بدون نشت حافظه یا باگ
- کار با رشتهها و کاراکترها بهصورت ایمن
- انجام عملیات I/O با استریمهای استاندارد و فایلهای POSIX
- بهرهگیری از امکانات Preprocessor
- اشکالزدایی، تست و تحلیل حرفهای کدهای C
ویژگیهای نسخه دوم:
- بازنویسی کامل براساس استاندارد جدید C23
- تمرکز ویژه بر امنیت و پایداری کد
- آموزش عملی و منطبق با نیازهای دنیای واقعی
درباره نویسنده:
رابرت سی. سیکورد یکی از اعضای باسابقه کمیته استانداردسازی زبان C است. او در نگارش این کتاب از همکاری متخصصانی همچون Aaron Ballman (نگهدارنده اصلی کامپایلر Clang) و JeanHeyd Meneide بهره برده است.
Effective C – ویرایش دوم برای تمام برنامهنویسان C که میخواهند با استانداردهای جدید همگام شوند و کدی امن و بهینه بنویسند، منبعی ارزشمند و ضروری است.
فهرست مطالب
- Praise for Effective C
- Title Page
- Copyright
- Dedication
- About the Author, Contributor and Technical Reviewer
- Foreword to the Second Edition
- Foreword to the First Edition
- Acknowledgments
- Introduction
- 1. Getting Started With C
- Developing Your First C Program
- Compiling and Running a Program
- Editors and Integrated Development Environments
- Compilers
- Portability
- Summary
- 2. Objects, Functions, and Types
- Entities
- Declaring Variables
- Object Types
- Derived Types
- Tags
- Type Qualifiers
- Scope
- Storage Duration
- Storage Class
- typeof Operators
- Alignment
- Variably Modified Types
- Attributes
- Summary
- 3. Arithmetic Types
- Integers
- Floating-Point Representation
- Arithmetic Conversion
- Summary
- 4. Expressions and Operators
- Simple Assignment
- Evaluations
- Function Invocation
- Increment and Decrement Operators
- Operator Precedence and Associativity
- Order of Evaluation
- sizeof Operator
- Arithmetic Operators
- Bitwise Operators
- Logical Operators
- Cast Operators
- Conditional Operator
- alignof Operator
- Relational Operators
- Compound Assignment Operators
- Comma Operator
- Pointer Arithmetic
- Summary
- 5. Control Flow
- Expression Statements
- Compound Statements
- Selection Statements
- Iteration Statements
- Jump Statements
- Summary
- 6. Dynamically Allocated Memory
- Storage Duration
- Memory Management
- Memory States
- Flexible Array Members
- Other Dynamically Allocated Storage
- Debugging Allocated Storage Problems
- Summary
- 7. Characters and Strings
- Characters
- Strings
- String Literals
- String-Handling Functions
- Summary
- 8. Input/Output
- Standard I/O Streams
- Opening and Creating Files
- Closing Files
- 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 from and Writing to Binary Streams
- Endian
- Summary
- 9. Preprocessor
- The Compilation Process
- File Inclusion
- Conditional Inclusion
- Macro Definitions
- Summary
- 10. Program Structure
- Principles of Componentization
- Executables
- Linkage
- Structuring a Simple Program
- Building the Code
- Summary
- 11. Debugging, Testing, and Analysis
- Assertions
- Compiler Settings and Flags
- Debugging
- Unit Testing
- Static Analysis
- Dynamic Analysis
- AddressSanitizer
- Summary
- Future Directions
- Appendix: The Fifth Edition of the C Standard (C23)
- Attributes
- Keywords
- Integer Constant Expressions
- Enumeration Types
- Type Inference
- typeof Operators
- unreachable Function-Like Macro
- Bit and Byte Utilities
- IEEE Floating-Point Support
- References
- Index
مشخصات
نام کتاب
Effective C, 2nd Edition
نویسنده
Robert C. Seacord
انتشارات
Penguin Random House LLC (Publisher Services)
تاریخ انتشار
2025
ISBN
9781718504127
تعداد صفحات
395
زبان
انگلیسی
فرمت
حجم
6.57MB
موضوع
Low-Level Programming