Modern C Up and Running: A Programmer's Guide to Finding Fluency and Bypassing the Quirks

Kalin, Martin

  • 出版商: Apress
  • 出版日期: 2022-10-07
  • 售價: $2,170
  • 貴賓價: 9.5$2,062
  • 語言: 英文
  • 頁數: 357
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1484286758
  • ISBN-13: 9781484286753
  • 相關分類: C 程式語言
  • 海外代購書籍(需單獨結帳)

商品描述

Learn how to program in modern C, from the basics through the advanced topics required for proficiency. This book is the fastest path to C fluency for anyone experienced in a general-purpose programming language. From start to finish, code examples highlight the idioms and best practices behind efficient, robust programs in a variety of areas.

The book opens with a thorough coverage of syntax, built-in data types and operations, and program structure. C has quirks and presents challenges, which are covered in detail. The coverage of advanced features is what sets this book apart from others. Among the advanced topics covered are floating-point representation in the IEEE 754 standard; embedded assembly language in C code for overflow detection; regular expressions, assertions, and internationalization; WebAssembly through C; and software libraries for C and other clients.

Memory efficiency and safety are the two major challenges in C programming, and you'll explore these challenges through a series of C examples. Arrays and structures, which are the means to high-level data representation, are covered in connection with pointers, which provide efficiency. The book again uses code examples in covering networking and wire-level security; concurrency (multiprocessing and multithreading); instruction-level parallelism; and interprocess communication through shared memory and files, pipes, message queues, and signals.

Many books introduce C, but few also explain how to use it properly and optimally. Essential C does just that.

What You'll Learn

  • Accelerate your path to C mastery with this book for experienced programmers
  • Refresh your approach to program structure and data types
  • Dive into aggregates and pointers using modern C language
  • Revisit storage classes and scope
  • Dive into concurrency (multiprocessing and multithreading) and instruction-level parallelism
  • Finish with regular expressions, assertions, signals, locales and more

Who This Book Is For

Professional programmers or software developers who has prior experience with C or in general wanting an accelerated learning guide to modern C programming language.

商品描述(中文翻譯)

學習如何使用現代C語言進行編程,從基礎知識到熟練所需的高級主題。對於有經驗的通用程式語言開發者來說,這本書是成為C語言專家的最快捷徑。從頭到尾,程式碼示例突出了在各個領域中編寫高效、健壯程式的慣用語和最佳實踐。

本書首先詳細介紹了語法、內建資料類型和操作,以及程式結構。C語言有其特殊之處並帶來挑戰,這些都有詳細介紹。本書的特色在於對高級功能的涵蓋。其中包括IEEE 754標準中的浮點數表示法、C語言中的嵌入式組合語言用於溢位檢測、正則表達式、斷言和國際化、通過C語言使用WebAssembly,以及C語言和其他客戶端的軟體庫。

在C語言編程中,記憶體效率和安全性是兩個主要挑戰,本書通過一系列C語言示例來探討這些挑戰。陣列和結構是高級資料表示的手段,與提供效率的指標相關聯。本書再次使用程式碼示例來介紹網絡和線路級安全性、並行性(多處理和多線程)、指令級平行處理,以及通過共享記憶體和檔案、管道、訊息佇列和訊號進行進程間通訊。

許多書籍介紹C語言,但很少有書籍能夠解釋如何正確且最佳地使用它。《Essential C》正是如此。

你將學到什麼:
- 通過這本針對有經驗的程式開發者的書籍,加速成為C語言專家
- 更新你對程式結構和資料類型的方法
- 使用現代C語言深入研究聚合和指標
- 重新研究儲存類別和範圍
- 深入研究並行性(多處理和多線程)和指令級平行處理
- 最後介紹正則表達式、斷言、訊號、區域設定等

適合對象:
專業程式開發人員或軟體開發人員,具有C語言經驗或一般希望加速學習現代C語言的人。