注冊 | 登錄讀書好,好讀書,讀好書!
讀書網(wǎng)-DuShu.com
當(dāng)前位置: 首頁出版圖書科學(xué)技術(shù)計(jì)算機(jī)/網(wǎng)絡(luò)軟件與程序設(shè)計(jì)C/C++及其相關(guān)21世紀(jì)C語言(影印版)

21世紀(jì)C語言(影印版)

21世紀(jì)C語言(影印版)

定 價(jià):¥56.00

作 者: (美)克萊門斯 著
出版社: 東南大學(xué)出版社
叢編項(xiàng):
標(biāo) 簽: 計(jì)算機(jī)/網(wǎng)絡(luò) 影印版

ISBN: 9787564142056 出版時間: 2013-05-01 包裝: 平裝
開本: 16開 頁數(shù): 273 字?jǐn)?shù):  

內(nèi)容簡介

  拋棄你對于C語言的那些陳舊觀念吧。你應(yīng)該重新學(xué)習(xí)這門編程語言,它早已改變了過去的面貌。在 《21世紀(jì)C語言(影印版)》中,你將了解到在其他C語言書籍中所缺失的那些最新技術(shù)。C語言不僅僅是現(xiàn) 代編程語言的基石,它本身也是一門現(xiàn)代語言,尤其適合于編寫高效的、尖端的應(yīng)用程序。你需要放棄那 些只有在大型機(jī)時代才有意義的舊習(xí),轉(zhuǎn)而選擇相應(yīng)的工具來使用這門改進(jìn)的極其簡單的語言。無論目前 你是哪門編程語言的擁護(hù)者,你都不得不承認(rèn)C語言 也很出色。 《21世紀(jì)C語言(影印版)》的作者是克萊門斯。

作者簡介

  (美)克萊門斯,Ben Klemens為布魯金斯學(xué)會、世界銀行、美國國家心理衛(wèi)生研究所和美國政府編寫統(tǒng)計(jì)分析和集約計(jì)算模型。他同時也為布魯金斯學(xué)會和自由軟件基金會工作來確保軟件作者有權(quán)使用他們編寫的軟件。

圖書目錄

Preface Part I.The Environment 1.SetYourself Up for Easy Compilation  Use a Package Manager  Compiling C with Windows  POSIX for Windows  Compiling C with POSIX  Compiling C Without POSIX  Which Way to the Library?  A Few of My Favorite Flags  Paths  Runtime Linking  Using Makefiles  Setting Variables  The Rules  Using Libraries from Source  Using Libraries from Source(Even if Your Sysadmin Doesn’t Want You To)  Compiling C Programs via Here Document  Include Header Files from the Command Line  The Unified Header  Here Documents  Compiling from stdin 2.Debug,Test,Document  Using a Debugger  GDB Variables  Print Your Structures  Using Valgrind to Check for Errors  Unit Testing  Using a Program as a Library  Coverage  Interweaving Documentation  Doxygen  Literate Code with CW’EB  Error Checking  What Is the User’s Involvement in the Error?  The Context in Which the User Is Working  How Should the Error Indication Be Returned? 3.PackagingYourProject  The Shell  Replacing Shell Commands with Their Outputs  Use the Shell’s for Loops to Operate on a Set of Files  TestforFiles  fc  Makefiles VS.Shell Scripts  Packaging Your Code with Autotools  An Autotools Demo  Describing the Makefile with makefile.a(chǎn)m  The configure Script 4.VersionControI  Changes via diff  Git’s Objects  The Stash  Trees and Their Branches  Merging  The Rebase  Remote Repositories 5.PlayingNicewithOthers  The Process   Writing to Be Read by Nonnatives  The Wrapper Function  Smuggling Data Structures Across the Border  Linking  Python Host  Compiling and Linking   The Conditional Subdirectory for Automake  Distutils Backed with Autotools Part II.The Language 6.YOurPaIthePointer  Automatic,Static,and Manual Memory  Persistent State Variables  Pointers Without malloc  Structures Get Copied,Arrays Get Aliased  malloc and Memory—Twiddling  The Fault Is in Our Stars  All the Pointer Arithmetic You Need to Know 7.CSyntaxYouCanIgnore  Don’t Bother Explicitly Returning from main   Let Declarations Flow  Set Array Size at Runtime  Cast Less  Enums and Strings  Labels,gotos,switches,and breaks  gotO Considered  switch  Deprecate Float 8.Obstaclesand Oppounity  Cultivate Robust and Flourishing Macros  Preprocessor Tricks  Linkage with static and extem  Declare Externally Linked Elements Only in Header Files  The const Keyword  Noun—Adjective Form  Tension  Depth  The char const Issue 9.Text  Making String Handling Less Painful with asprintf  Security  Constant Strings  Extending Strings with asprintf  APean to strtok  Unicode  The Encoding for C Code  Unicode Libraries  The Sample Code 10.Better Structures  Compound Literals  Initialization via Compound Literals  Variadic Macros  Safely Terminated Lists  Foreach  Vectorize a Function  Designated Initializers  Initialize Arrays and Structs with Zeros  Typedefs Save the Day  A StyleNote  Return Multiple Items from a Function  Reporting Errors  Flexible Function Inputs  Declare Your Function.a(chǎn)s printf-Style  Optional and Named Arguments  Polishing a Dull Function  The Void Pointer and the Structures It Points To  Functions with Generic Inputs  Generic Structures 11.Object-Oriented Programmingin C  What You Don’t Get(and Why You Won’t Miss It)  Scope  Overloaded with Operator Overloading  Extending Structures and Dictionaries  Extending a Structure  Implementing a Dictionary  Base Your Code on Pointers to Objects  Functions in Your Structs  Count References,  Example:A Substring Object  An Agent—Based Model of Group Formation 12.Libraries  GLib  POS.IX  Using mmap for Gigantic Data Sets  Easy Threading with Pthreads  The GNU Scientific Library  SQLite  The Queries libxml and cURL Epilogue Glossary Bibliography Index  

本目錄推薦

掃描二維碼
Copyright ? 讀書網(wǎng) ranfinancial.com 2005-2020, All Rights Reserved.
鄂ICP備15019699號 鄂公網(wǎng)安備 42010302001612號