Effective C: An Introduction to Professional C Programming

Seacord, Robert C.

買這商品的人也買了...

相關主題

商品描述

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, Effective C 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, Effective C will teach developers how to write correct, portable, professional-quality C code.

商品描述(中文翻譯)

一本針對有經驗的程式設計師詳細介紹 C 語言的書籍。

世界上的程式碼大多是用 C 語言撰寫的,但大部分的電腦科學課程只教授 Java 或 Python 作為入門語言。這本書是為已經懂得如何程式設計並且想要快速掌握 C 語言專業程式設計的開發者而寫的。讀者將學習如何開發正確、可攜帶、專業品質的程式碼,並建立開發安全關鍵和安全性關鍵系統的基礎。由著名作家 Robert Seacord 撰寫,《Effective C》是對 C 語言的深入研究。Seacord 同時介紹了語言的基本資料類型和程式碼結構,同時討論了 C 社群中的最佳實踐、常見錯誤和開放辯論。讀者還將學習如何調試、測試和分析 C 程式,並從對 C 語言結構和行為的詳細而簡潔的解釋中受益。讀者將學習到以下內容:
- 如何識別和處理 C 程式中的未定義行為
- 整數和浮點數值的範圍和表示方式
- 如何執行整數提升以及它們可能對可攜性的影響
- 運算式的評估順序
- 動態記憶體配置,包括使用非標準函數
- C 語言中使用字符類型的哲學基礎
- 字符編碼和類型
- 如何使用 C 標準流和 POSIX 文件描述符在終端和文件系統中進行輸入/輸出 (I/O)
- C 編譯器實現的翻譯階段和預處理器的角色
- 測試、調試和分析 C 程式

《Effective C》是與 C 標準委員會專家合作開發的,將教導開發者如何撰寫正確、可攜帶、專業品質的 C 程式碼。

作者簡介

Robert Seacord is a Technical Director at NCC Group where he researches and teaches secure coding in C, C++, Java, and other languages. Previously, Robert founded the secure coding initiative in the CERT Division of Carnegie Mellon University's Software Engineering Institute (SEI) and was an adjunct professor in the School of Computer Science and the Information Networking Institute at Carnegie Mellon University and at the University of Pittsburgh. Robert is an expert on ISO/IEC JTC1/SC22/WG14, the international standardization working group for the programming language C. He is the author of six previous books, including The CERT C Coding Standard, Second Edition (2014), Secure Coding in C and C++, Second Edition (2013), The CERT Oracle Secure Coding Standard for Java (2011), and Java Coding Guidelines: 75 Recommendations for Reliable and Secure Programs (2014). Robert is on the Advisory Board for the Linux Foundation.

作者簡介(中文翻譯)

Robert Seacord是NCC Group的技術總監,他在C、C++、Java和其他語言中進行安全編碼的研究和教學。之前,Robert在卡內基梅隆大學軟件工程研究所(SEI)的CERT部門創立了安全編碼計劃,並在卡內基梅隆大學的計算機科學學院和信息網絡學院以及匹茲堡大學擔任兼職教授。Robert是國際標準化工作組ISO/IEC JTC1/SC22/WG14的專家,該工作組負責C編程語言的國際標準化。他是六本先前書籍的作者,包括《CERT C編碼標準,第二版》(2014年)、《C和C++安全編碼,第二版》(2013年)、《Java安全編碼標準》(2011年)和《Java編碼指南:75個可靠和安全程序的建議》(2014年)。Robert是Linux Foundation的顧問委員會成員。