21st Century C

Ben Klemens

出版时间

2012-12-01

ISBN

9781449327149

评分

★★★★★
书籍介绍

Throw out your old ideas of C, and relearn a programming language that’s substantially outgrown its origins. With 21st Century C, you’ll discover up-to-date techniques that are absent from every other C text available. C isn’t just the foundation of modern programming languages, it is a modern language, ideal for writing efficient, state-of-the-art applications. Learn to dump old habits that made sense on mainframes, and pick up the tools you need to use this evolved and aggressively simple language. No matter what programming language you currently champion, you’ll agree that C rocks.

Set up a C programming environment with shell facilities, makefiles, text editors, debuggers, and memory checkers

Use Autotools, C’s de facto cross-platform package manager

Learn which older C concepts should be downplayed or deprecated

Explore problematic C concepts that are too useful to throw out

Solve C’s string-building problems with C-standard and POSIX-standard functions

Use modern syntactic features for functions that take structured inputs

Build high-level object-based libraries and programs

Apply existing C libraries for doing advanced math, talking to Internet servers, and running databases

Ben Klemens has been doing statistical analysis and computationally-intensive modeling of populations ever since getting his PhD in Social Sciences from Caltech. He is of the opinion that writing code should be fun, and has had a grand time writing analyses and models (mostly in C) for the Brookings Institution, the World Bank, National Institute of Mental Health, et al. As a N...

(展开全部)

目录
The Environment
Chapter 1 Set Yourself Up for Easy Compilation
Use a Package Manager
Compiling C with Windows
Which Way to the Library?

显示全部
用户评论
Things that I find useful: Autotools (Ch3), interact with Python (Ch5), Ch6-10.
除了《K&R C》《Expert C programming》 以及《C Interfaces and Implementation》外再难找到一本经典的了吧,不过看介绍好像有点料,亚马逊评论两极分化严重。
- - 对于我来说熟悉了各种构建工具
内容广泛,不是给新手写的。 主要讲解了C的新标准中提供的语言技巧
可能在ubuntu一般work,不过作者一定没有在osx上的gcc上试过,makefile很多需要修改
新意有限。
朋友,有时间学点c吧
查缺补漏,跟进新特性,再去看代码感觉顺畅了不少。
收藏