91精品国产综合久久四虎久久_国产成人午夜高潮毛片_99er视频精品免费观看_2020亚洲熟女在线观看_日本女优人体写真_国内黄色毛片_年轻的老师中文版在线_丰满女邻居做爰_久久久久久精品成人免费图片

 
流利的C語言(影印版)
流利的C語言(影印版)
Christopher Preschern
出版時間:2023年03月
頁數(shù):281
“滿滿的實例,本書是一份不可多得的資料,可以讓你的代碼更加簡潔,更易于維護。”
——David Griffiths
Head First C作者
“本書將帶領(lǐng)新手步入打造工業(yè)級C程序的行列?!?br /> ——Robert Hanmer
軟件架構(gòu)師

關(guān)于C語言編程的專家建議很難找到。雖然面向?qū)ο缶幊陶Z言的參考幫助有很多,但針對C語言的同類信息卻少得令人吃驚。通過這本實踐指南,初學者和有經(jīng)驗的C語言程序員都能找到相關(guān)的設(shè)計決策指導,包括在構(gòu)建大型程序時如何將它們循序漸進地應用于現(xiàn)役代碼。
作為設(shè)計模式社區(qū)的主要成員,Christopher Preschern解答了如何構(gòu)造C程序、應對錯誤處理、設(shè)計柔性接口等問題。無論你是在尋找特定的模式,還是想了解特定主題的設(shè)計選擇,本書都能助你一臂之力。在第一部分中,你將學習如何實現(xiàn)專門針對C編程語言的實用設(shè)計知識。
第二部分包括應用C編程模式實現(xiàn)大型程序。你將從中學習到模式是如何通過良好的設(shè)計決策提高工作效率的。本書包括以下模式:
● 錯誤處理
● 返回錯誤信息
● 內(nèi)存管理
● 從C函數(shù)返回數(shù)據(jù)
● 數(shù)據(jù)生命周期和所有權(quán)
● 柔性API
● 柔性迭代器接口
● 在模塊化程序中組織文件
● 擺脫#ifdel地獄
  1. Preface
  2. Part I. C Patterns
  3. 1. Error Handling
  4. Running Example
  5. Function Split
  6. Guard Clause
  7. Samurai Principle
  8. Goto Error Handling
  9. Cleanup Record
  10. Object-Based Error Handling
  11. Summary
  12. Further Reading
  13. Outlook
  14. 2. Returning Error Information
  15. Running Example
  16. Return Status Codes
  17. Return Relevant Errors
  18. Special Return Values
  19. Log Errors
  20. Summary
  21. Further Reading
  22. Outlook
  23. 3. Memory Management
  24. Data Storage and Problems with Dynamic Memory
  25. Running Example
  26. Stack First
  27. Eternal Memory
  28. Lazy Cleanup
  29. Dedicated Ownership
  30. Allocation Wrapper
  31. Pointer Check
  32. Memory Pool
  33. Summary
  34. Further Reading
  35. Outlook
  36. 4. Returning Data from C Functions
  37. Running Example
  38. Return Value
  39. Out-Parameters
  40. Aggregate Instance
  41. Immutable Instance
  42. Caller-Owned Buffer
  43. Callee Allocates
  44. Summary
  45. Outlook
  46. 5. Data Lifetime and Ownership
  47. Stateless Software-Module
  48. Software-Module with Global State
  49. Caller-Owned Instance
  50. Shared Instance
  51. Summary
  52. Further Reading
  53. Outlook
  54. 6. Flexible APIs
  55. Header Files
  56. Handle
  57. Dynamic Interface
  58. Function Control
  59. Summary
  60. Further Reading
  61. Outlook
  62. 7. Flexible Iterator Interfaces
  63. Running Example
  64. Index Access
  65. Cursor Iterator
  66. Callback Iterator
  67. Summary
  68. Further Reading
  69. Outlook
  70. 8. Organizing Files in Modular Programs
  71. Running Example
  72. Include Guard
  73. Software-Module Directories
  74. Global Include Directory
  75. Self-Contained Component
  76. API Copy
  77. Summary
  78. Outlook
  79. 9. Escaping #ifdef Hell
  80. Running Example
  81. Avoid Variants
  82. Isolated Primitives
  83. Atomic Primitives
  84. Abstraction Layer
  85. Split Variant Implementations
  86. Summary
  87. Further Reading
  88. Outlook
  89. Part II. Pattern Stories
  90. 10. Implementing Logging Functionality
  91. The Pattern Story
  92. Summary
  93. 11. Building a User Management System
  94. The Pattern Story
  95. Summary
  96. 12. Conclusion
  97. What You’ve Learned
  98. Further Reading
  99. Closing Remarks
  100. Index
書名:流利的C語言(影印版)
國內(nèi)出版社:東南大學出版社
出版時間:2023年03月
頁數(shù):281
書號:978-7-5766-0562-4
原版書書名:Fluent C
原版書出版商:O'Reilly Media
Christopher Preschern
 
Christopher Preschern組織了設(shè)計模式會議并發(fā)起了改進模式編寫的倡議。作為ABB公司的C程序員,他收集并記錄了如何編寫工業(yè)級代碼的實踐知識。他曾在格拉茨科技大學講授編碼以及代碼質(zhì)量的相關(guān)課程,擁有計算機科學博士學位。
 
 
The animal on the cover of Fluent C is a Major Mitchell’s cockatoo (Lophochroa leadbeateri), also known as Leadbeater’s cockatoo or the pink cockatoo. This mediumsized cockatoo is named after Major Thomas Mitchell, a surveyor and explorer of southeastern Australia. It is native to the arid and semi-arid parts of Australia, preferring wooded areas where it can forage for seeds. Its plumage is primarily white and a pale salmon pink, with deeper pink under its wings and a bright red, yellow, and white crest. Males and females look almost identical, though males are usually a little larger and have brown eyes, while females have reddish-pink eyes and broader yellow stripes in their crests.
Major Mitchell’s cockatoos are popular as pets, though they are very social birds that require a great deal of attention from their owners. In the wild, they nest in pairs and require large territories, making their habitats vulnerable to fragmentation. Although they are considered a species of least concern, their numbers have declined as woodlands have been cleared. They are also threatened by illegal trapping for the pet trade.
購買選項
定價:109.00元
書號:978-7-5766-0562-4
出版社:東南大學出版社