- ISBN:9787564142056
- 装帧:一般胶版纸
- 册数:暂无
- 重量:暂无
- 开本:16开
- 页数:273
- 出版时间:2013-05-01
- 条形码:9787564142056 ; 978-7-5641-4205-6
本书特色
是否你的C语言编程环境被限制在VI和CC上?是否C语言的内存管理机制依然像20世纪90年代那样困扰你?BEN KLEMENS提出了这些常见的问题,并且展示了*新的工具如何使得C语言编程变得简单——能够帮助你调试、跟踪内存泄露、组织编译过程和管理源代码版本。 《21世纪C语言(影印版)》的作者是克莱门斯。
内容简介
抛弃你对于C语言的那些陈旧观念吧。你应该重 新学习这门编程语言,它早已改变了过去的面貌。在 《21世纪C语言(影印版)》中,你将了解到在其他C语 言书籍中所缺失的那些*新技术。C语言不仅仅是现 代编程语言的基石,它本身也是一门现代语言,尤其 适合于编写高效的、尖端的应用程序。你需要放弃那 些只有在大型机时代才有意义的旧习,转而选择相应 的工具来使用这门改进的极其简单的语言。无论目前 你是哪门编程语言的拥护者,你都不得不承认C语言 也很出色。
《21世纪C语言(影印版)》的作者是克莱门斯。
目录
Part I.The Environment
1.SetYourself Up for Easy Compilation
Use a Package Manager
Compiling C with Windows
POSIX for Windows
Compiling C with POSIX
Compiling C Without POSIX
Which Way to the Library?
A Few of My Favorite Flags
Paths
Runtime Linking
Using Makefiles
Setting Variables
The Rules
Preface
Part I.The Environment
1.SetYourself Up for Easy Compilation
Use a Package Manager
Compiling C with Windows
POSIX for Windows
Compiling C with POSIX
Compiling C Without POSIX
Which Way to the Library?
A Few of My Favorite Flags
Paths
Runtime Linking
Using Makefiles
Setting Variables
The Rules
Using Libraries from Source
Using Libraries from Source(Even if Your Sysadmin Doesn’t Want You To)
Compiling C Programs via Here Document
Include Header Files from the Command Line
The Unified Header
Here Documents
Compiling from stdin
2.Debug,Test,Document
Using a Debugger
GDB Variables
Print Your Structures
Using Valgrind to Check for Errors
Unit Testing
Using a Program as a Library
Coverage
Interweaving Documentation
Doxygen
Literate Code with CW’EB
Error Checking
What Is the User’s Involvement in the Error?
The Context in Which the User Is Working
How Should the Error Indication Be Returned?
3.PackagingYourProject
The Shell
Replacing Shell Commands with Their Outputs
Use the Shell’s for Loops to Operate on a Set of Files
TestforFiles
fc
Makefiles VS.Shell Scripts
Packaging Your Code with Autotools
An Autotools Demo
Describing the Makefile with makefile.am
The configure Script
4.VersionControI
Changes via diff
Git’s Objects
The Stash
Trees and Their Branches
Merging
The Rebase
Remote Repositories
5.PlayingNicewithOthers
The Process
Writing to Be Read by Nonnatives
The Wrapper Function
Smuggling Data Structures Across the Border
Linking
Python Host
Compiling and Linking
The Conditional Subdirectory for Automake
Distutils Backed with Autotools
Part II.The Language
6.YOurPaIthePointer
Automatic,Static,and Manual Memory
Persistent State Variables
Pointers Without malloc
Structures Get Copied,Arrays Get Aliased
malloc and Memory—Twiddling
The Fault Is in Our Stars
All the Pointer Arithmetic You Need to Know
7.CSyntaxYouCanIgnore
Don’t Bother Explicitly Returning from main
Let Declarations Flow
Set Array Size at Runtime
Cast Less
Enums and Strings
Labels,gotos,switches,and breaks
gotO Considered
switch
Deprecate Float
8.Obstaclesand Oppounity
Cultivate Robust and Flourishing Macros
Preprocessor Tricks
Linkage with static and extem
Declare Externally Linked Elements Only in Header Files
The const Keyword
Noun—Adjective Form
Tension
Depth
The char const Issue
9.Text
Making String Handling Less Painful with asprintf
Security
Constant Strings
Extending Strings with asprintf
APean to strtok
&n
节选
是否你的C语言编程环境被限制在VI和CC上?是否C语言的内存管理机制依然像20世纪90年代那样困扰你?BEN KLEMENS提出了这些常见的问题,并且展示了*新的工具如何使得C语言编程变得简单——能够帮助你调试、跟踪内存泄露、组织编译过程和管理源代码版本。 《21世纪C语言(影印版)》的作者是克莱门斯。
作者简介
作者:(美)克莱门斯
Ben Klemens为布鲁金斯学会、世界银行、美国国家心理卫生研究所和美国政府编写统计分析和集约计算模型。他同时也为布鲁金斯学会和自由软件基金会工作来确保软件作者有权使用他们编写的软件。
-
全图解零基础word excel ppt 应用教程
¥16.3¥48.0 -
C Primer Plus 第6版 中文版
¥62.6¥108.0 -
零信任网络:在不可信网络中构建安全系统
¥34.2¥59.0 -
有限与无限的游戏:一个哲学家眼中的竞技世界
¥37.4¥68.0 -
硅谷之火-人与计算机的未来
¥20.3¥39.8 -
情感计算
¥66.8¥89.0 -
大模型RAG实战 RAG原理、应用与系统构建
¥74.3¥99.0 -
大学计算机基础实验教程(MS Office版)——面向数据分析能力培养
¥29.1¥39.8 -
LINUX企业运维实战(REDIS+ZABBIX+NGINX+PROMETHEUS+GRAFANA+LNMP)
¥51.8¥69.0 -
AI虚拟数字人:商业模式+形象创建+视频直播+案例应用
¥70.0¥89.8 -
LINUX实战——从入门到精通
¥52.4¥69.0 -
剪映AI
¥52.8¥88.0 -
快速部署大模型:LLM策略与实践(基于ChatGPT等大语言模型)
¥56.9¥79.0 -
数据驱动的工业人工智能:建模方法与应用
¥68.3¥99.0 -
数据存储架构与技术(第2版)
¥62.9¥89.8 -
纹样之美:中国传统经典纹样速查手册
¥76.3¥109.0 -
UG NX 12.0数控编程
¥24.8¥45.0 -
MATLAB计算机视觉与深度学习实战(第2版)
¥90.9¥128.0 -
UN NX 12.0多轴数控编程案例教程
¥24.3¥38.0 -
实战知识图谱
¥51.8¥69.0