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
· · · · · · (收起)

读后感

评分

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

评分

许多地方对新手不太友好,读起来不太顺利,认真读还是可以学到一些东西的,比如关于打包文档等等是看了这个书才知道的。如果能够有附录或者关于一些细节的链接的话会比较友好一些,有些地方很久才发现在说什么,也许你该读英文版。写评论要那么多字?。。。。。。。。。。。 。...

评分

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

评分

许多地方对新手不太友好,读起来不太顺利,认真读还是可以学到一些东西的,比如关于打包文档等等是看了这个书才知道的。如果能够有附录或者关于一些细节的链接的话会比较友好一些,有些地方很久才发现在说什么,也许你该读英文版。写评论要那么多字?。。。。。。。。。。。 。...

评分

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

用户评价

评分

在c语言中属于新颖的书!!

评分

说是21世纪C,但内容都是我已经知道的知识

评分

好多 c11 的东西

评分

收获有一些,不多,也不少……用结构体和初始化列表通过宏来mock出一个有默认参数的函数调用挺有意思的。还有其他各种东西,匿名函数之类的,以及更加完整的oo概念。以后写c的机会不多了~~~

评分

- - 对于我来说熟悉了各种构建工具

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

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