扫一扫
关注中图网
官方微博
本类五星书更多>
-
>
全国计算机等级考试最新真考题库模拟考场及详解·二级MSOffice高级应用
-
>
决战行测5000题(言语理解与表达)
-
>
软件性能测试.分析与调优实践之路
-
>
第一行代码Android
-
>
C Primer Plus 第6版 中文版
-
>
深度学习
-
>
MATLAB计算机视觉与深度学习实战-赠在线交流卡和本书源码
流利的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程序员,他收集并记录了如何编写工业级代码的实践知识。他曾在格拉茨科技大学讲授编码以及代码质量的相关课程,拥有计算机科学博士学位。
书友推荐
- >
山海经
山海经
¥20.4¥68.0 - >
小考拉的故事-套装共3册
小考拉的故事-套装共3册
¥35.4¥68.0 - >
企鹅口袋书系列·伟大的思想20:论自然选择(英汉双语)
企鹅口袋书系列·伟大的思想20:论自然选择(英汉双语)
¥6.3¥14.0 - >
史学评论
史学评论
¥18.5¥42.0 - >
诗经-先民的歌唱
诗经-先民的歌唱
¥15.1¥39.8 - >
伯纳黛特,你要去哪(2021新版)
伯纳黛特,你要去哪(2021新版)
¥23.4¥49.8 - >
莉莉和章鱼
莉莉和章鱼
¥16.0¥42.0 - >
烟与镜
烟与镜
¥28.4¥48.0
本类畅销
-
C和指针
¥69.3¥99 -
新编C语言习题与解析
¥48.3¥69 -
C程序设计-(第五版)
¥19.1¥39 -
2022图书×抽奖盲袋
¥9.9¥25 -
2023读书月阅读盲盒——天黑,闭眼,刀谁?
¥42.3¥158
浏览历史
IT项目开发与管理
¥28.5¥39.0梁启超新民说深味解读本
¥25.2¥36.0挪威的森林(精)//2021新定价
¥41.4¥56.0请把种子埋进土里
¥25.7¥59.8胶轮路轨系统设计标准(上海市工程建设规范)
¥57.6¥80.0