扫一扫
关注中图网
官方微博
本类五星书更多>
-
>
决战行测5000题(言语理解与表达)
-
>
软件性能测试.分析与调优实践之路
-
>
第一行代码Android
-
>
深度学习
-
>
Unreal Engine 4蓝图完全学习教程
-
>
深入理解计算机系统-原书第3版
-
>
Word/Excel PPT 2013办公应用从入门到精通-(附赠1DVD.含语音视频教学+办公模板+PDF电子书)
流利的C语言 版权信息
- ISBN:9787576605624
- 条形码:9787576605624 ; 978-7-5766-0562-4
- 装帧:平装-胶订
- 册数:暂无
- 重量:暂无
- 所属分类:>>
流利的C语言 内容简介
C语言编程的专家建议很难找到。虽然面向对象编程语言的参考帮助有很多,但C语言的同类信息却少得令人吃惊。通过这本实践指南,初学者和有经验的C语言程序员都能找到相关的设计决策指导,包括在构建大规模程序时如何将其循序渐进地应用于现役代码。
作为设计模式社区的领头人,Christopher Preschern解答了如何结构化C程序、应对错误处理、设计柔性接口等问题。无论你是在寻找特定模式设计或是想了解特定主题的设计选择,本书都能助你一臂之力。在部分中,你将学习如何实现专门针对C编程语言的实用设计知识。
流利的C语言 目录
Preface
Part Ⅰ. C Patterns
1.ErrorHandling
Running Example
Function Split
Guard Clause
Samurai Principle
Goto Error Handling
Cleanup Record
Object—Based Error Handling
Summary
Further Reading
0uflook
2.Returning Error Information
Running Example
Return Status Codes
Return Relevant Errors
Special Return Values
Log Errors
Summary
Further Reading
0utlook
3.MemowManagement
Data Storage and Problems with Dynamic Men
Running Example
Stack First
Eternal Memory
Lazy Cleanup
Dedicated Ownership
Allocation Wrapper
Pointer Check
Memory Pool
Summary
Further Reading
0utlook
4.ReturningDatafromC Functions
Running Example
Return V甜ue
out.Parameters
Aggregate Instance
Immutable Instance
Caller.Owned Buffer
Callee灿locates
Summary
0utlook
5.Data LifetimeandOwnership
Stateless Software—Module
Software.Module with Global State
Caller.Owned Instance
Shared Instance
Summary
Further Reading
Outlook
6.FlexibleAPIs
Header Files
Handie
Dynamic Interfaca
Function Control
Summary
Further Reading
0utlook
7.Flexible Iterator Interfaces
Running Example
Index Access
Cursor Iterator
Callback Iterator
Summary
Further Reading
Outlook
8.Organizing Files in Modular Programs
Running Example
Include Guard
Software—Module Directories
Global Include Directory
Self-Contained Component
APICopy
Summary
0utlook
9.Escaping#ifdefHell
Running Example
AvoidVariants
Isolated Primitives
Atomic Primitives
Abstraction Layer
Split Variant Implementations
Summary
Further Reading
0utlook
Part Ⅱ.Pattern Stories
lO.Implementing Logging Functionality
The Pattern Story
File Organization
Central Logging Function
Logging Source Filter
Conditional Logging
Multiple Logging Destinations
File Logging
Cross—Platform Files
Using the Logger
Summary
11.Buildinga UserManagementSystem
The Pattern Story
Data Organization
File Organization
Authentication:Error Handling
Authentication:Error Logging
Adding Users:Error Handling
Iterating
Using the User Management System
Summary
12.Conclusion
What You've Learned
Further Reading
Closing Remarks
lndex
展开全部
流利的C语言 作者简介
克里斯托弗·普雷斯奇,Christopher Preschern组织了设计模式会议并发起了改进模式编写的倡议。作为ABB公司的C程序员,他收集并记录了如何编写工业级代码的实践知识。他曾在格拉茨科技大学讲授编码以及代码质量的相关课程,拥有计算机科学博士学位。
书友推荐
- >
二体千字文
二体千字文
¥22.4¥40.0 - >
罗曼·罗兰读书随笔-精装
罗曼·罗兰读书随笔-精装
¥20.3¥58.0 - >
自卑与超越
自卑与超越
¥12.7¥39.8 - >
莉莉和章鱼
莉莉和章鱼
¥13.4¥42.0 - >
伯纳黛特,你要去哪(2021新版)
伯纳黛特,你要去哪(2021新版)
¥15.9¥49.8 - >
企鹅口袋书系列·伟大的思想20:论自然选择(英汉双语)
企鹅口袋书系列·伟大的思想20:论自然选择(英汉双语)
¥6.3¥14.0 - >
有舍有得是人生
有舍有得是人生
¥17.1¥45.0 - >
回忆爱玛侬
回忆爱玛侬
¥23.0¥32.8
本类畅销
-
C专家编程
¥41¥69 -
4.23文创礼盒A款--“作家言我精神状态”
¥42.3¥206 -
4.23文创礼盒B款--“作家言我精神状态”
¥42.3¥206 -
一句顶一万句 (印签版)
¥40.4¥68 -
百年书评史散论
¥14.9¥38 -
1980年代:小说六记
¥52.8¥69