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

評分

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

評分

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

用戶評價

评分

終於有電子版瞭...

评分

C語言,我真得對你颳目相看瞭。。

评分

看瞭目錄和第一章就愛上這本書瞭,希望會是本好書

评分

看瞭目錄和第一章就愛上這本書瞭,希望會是本好書

评分

沒啥新東東,不過這樣就對瞭

本站所有內容均為互聯網搜索引擎提供的公開搜索信息,本站不存儲任何數據與內容,任何內容與數據均與本站無關,如有需要請聯繫相關搜索引擎包括但不限於百度google,bing,sogou

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