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里说的,这本书只给了读者必须知道的方向,剩下的工作就是读者去自己习惯的搜索引擎中查找相关的主题。但是说实话,这...  

评分

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

评分

# 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....  

评分

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

用户评价

评分

内容广泛,不是给新手写的。 主要讲解了C的新标准中提供的语言技巧

评分

粗看了遍,作者自我感觉很牛逼但也没感觉有多牛逼,一般般。

评分

这个作者能说会道。

评分

肯定不是适合c初学者。但对c成手来说,也没有太多新东西。 现在这个年代涉及C的书很难写阿。再难见经典了。

评分

C语言,我真得对你刮目相看了。。

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

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