21st Century C

21st Century C pdf epub mobi txt 电子书 下载 2025

出版者:O'Reilly Media
作者:Ben Klemens
出品人:
页数:298
译者:
出版时间:2012-12
价格:USD 29.99
装帧:Paperback
isbn号码:9781449327149
丛书系列:
图书标签:
  • C
  • Programming
  • 程序设计
  • C语言
  • C/C++
  • O'Reilly
  • 编程
  • 计算机科学
  • 21st century
  • technology
  • culture
  • education
  • innovation
  • society
  • futurism
  • science
  • literacy
想要找书就要到 小美书屋
立刻按 ctrl+D收藏本页
你会得到大惊喜!!

具体描述

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 Nonresident Fellow at Brookings and with the Free Software Foundation, he has done work on ensuring that creative authors retain the right to use the software they write. He currently works for the United States FederalGovernment.

目录信息

The Environment
Chapter 1 Set Yourself Up for Easy Compilation
Use a Package Manager
Compiling C with Windows
Which Way to the Library?
Using Makefiles
Using Libraries from Source
Using Libraries from Source (Even if Your Sysadmin Doesn’t Want You To)
Compiling C Programs via Here Document
Chapter 2 Debug, Test, Document
Using a Debugger
Using Valgrind to Check for Errors
Unit Testing
Interweaving Documentation
Error Checking
Chapter 3 Packaging Your Project
The Shell
Makefiles vs. Shell Scripts
Packaging Your Code with Autotools
Chapter 4 Version Control
Changes via diff
Git’s Objects
Trees and Their Branches
Remote Repositories
Chapter 5 Playing Nice with Others
The Process
Python Host
The Language
Chapter 6 Your Pal the Pointer
Automatic, Static, and Manual Memory
Persistent State Variables
Pointers Without malloc
Chapter 7 C Syntax You Can Ignore
Don’t Bother Explicitly Returning from main
Let Declarations Flow
Cast Less
Enums and Strings
Labels, gotos, switches, and breaks
Deprecate Float
Chapter 8 Obstacles and Opportunity
Cultivate Robust and Flourishing Macros
Linkage with static and extern
The const Keyword
Chapter 9 Text
Making String Handling Less Painful with asprintf
A Pæan to strtok
Unicode
Chapter 10 Better Structures
Compound Literals
Variadic Macros
Safely Terminated Lists
Foreach
Vectorize a Function
Designated Initializers
Initialize Arrays and Structs with Zeros
Typedefs Save the Day
Return Multiple Items from a Function
Flexible Function Inputs
The Void Pointer and the Structures It Points To
Chapter 11 Object-Oriented Programming in C
What You Don’t Get (and Why You Won’t Miss It)
Extending Structures and Dictionaries
Functions in Your Structs
Count References
Chapter 12 Libraries
GLib
POSIX
The GNU Scientific Library
SQLite
libxml and cURL
Epilogue
Glossary
Bibliography
Colophon
· · · · · · (收起)

读后感

评分

因为oreilly的名头和目录才买了这本书。其实挺好的一个主题,但每个内容作者都蜻蜓点水的说了一两句,没有深入介绍,也没提供更多的线索。 就像作者在的Q&A里说的,这本书只给了读者必须知道的方向,剩下的工作就是读者去自己习惯的搜索引擎中查找相关的主题。但是说实话,这...  

评分

因为oreilly的名头和目录才买了这本书。其实挺好的一个主题,但每个内容作者都蜻蜓点水的说了一两句,没有深入介绍,也没提供更多的线索。 就像作者在的Q&A里说的,这本书只给了读者必须知道的方向,剩下的工作就是读者去自己习惯的搜索引擎中查找相关的主题。但是说实话,这...  

评分

# Notes on 21st Century C ## Doxygen and CWEB (pp. 43-46) Doxygen is old-fashioned and hard to install. And I hardly encountered any project using CWEB. On the other side, Sphinx has a C domain. ## Call C from Python (pp. 93-94) The FFI way is much cleaner....  

评分

# Notes on 21st Century C ## Doxygen and CWEB (pp. 43-46) Doxygen is old-fashioned and hard to install. And I hardly encountered any project using CWEB. On the other side, Sphinx has a C domain. ## Call C from Python (pp. 93-94) The FFI way is much cleaner....  

评分

v2贴子:http://v2ex.com/t/239274 书是好书,读书笔记另外开贴,这里只谈翻译,真像是机器翻译 注:以下页码为中文版页码,[]内是我发的牢骚 P28:1.7.3嵌入文档 [看看原文,所谓的“嵌入文档”原来是“here document”。另外,P26页章节标题“通过本地文档来编译C程序”中的...  

用户评价

评分

开始尝试看英文书,感觉很好。作者很注重细节和技巧,深入浅出地介绍了当前流行的开发工具、编程接口及C语言本身。本书是为那些希望加入C项目开发的程序猿而写的,介绍了一下几点:1、如何基于其他库进行开发;2、如何针对一些简单的对象来写一系列的函数;3、如何让接口更友好;4、如何做文档以方便他人;5、什么工具可以用来测试;6、如何试用git来进行代码管理;7、如何打包以供发布。

评分

終於有電子版了...

评分

終於有電子版了...

评分

泛泛而谈,浅尝辄止,偶有妙思,

评分

終於有電子版了...

本站所有内容均为互联网搜索引擎提供的公开搜索信息,本站不存储任何数据与内容,任何内容与数据均与本站无关,如有需要请联系相关搜索引擎包括但不限于百度google,bing,sogou

© 2025 book.quotespace.org All Rights Reserved. 小美书屋 版权所有