下载 >  开发技术 >  Python > Exercises in Programming Style 编程风格:好代码的逻辑(英文版)
5分

Exercises in Programming Style 编程风格:好代码的逻辑(英文版)

领略编程之美,了解代码背后的逻辑,掌握与算法同等重要的代码编写规范
2017-11-18 上传大小:1.68MB
立即下载 开通VIP
分享
收藏 (3) 举报

评论 共4条

qguanri 看不懂,没预期的好。
2018-05-27
回复
rojimfeng 难得的资料,可以了解各种编程风格,这方面的资料相对而言比较少。
2018-03-04
回复
liwenqiang758 看不懂咋整
2018-02-08
回复
Exercises in Programming Style (编程风格,英文版)

“近年来程序设计领域最好的一本书。”——Larry O’Brien, Software Development Times, July 29, 2015 Using a simple computational task (term frequency) to illustrate different programming styles, Exercises in Programming Style helps readers understand the various ways of writing programs and designing systems. It is designed to be used in conjunction with code provided on an online repository. The book complements and explains the raw code in a way that is accessible to anyone who regularly practices the art of programming. The book can also be used in advanced programming courses in computer science and software engineering programs. The book contains 33 different styles for writing the term frequency task. The styles are grouped into nine categories: historical, basic, function composition, objects and object interactions, reflection and metaprogramming, adversity, data-centric, concurrency, and interactivity. The author verbalizes the constraints in each style and explains the example programs. Each chapter first presents the constraints of the style, next shows an example program, and then gives a detailed explanation of the code. Most chapters also have sections focusing on the use of the style in systems design as well as sections describing the historical context in which the programming style emerged. Cristina Videira Lopes,加州大学欧文分校信息学教授,致力于大规模数据和系统的软件工程研究。她是施乐帕洛阿尔托研究中心的创始成员,还研发并维护着一个搜索引擎,为基于OpenSimulator的虚拟世界提供帮助。

立即下载
50积分/C币
《编程风格:好代码的逻辑》随书代码

《编程风格:好代码的逻辑》随书代码,本书的随书代码,

立即下载
5积分/C币
编程风格:好代码的逻辑【试读】

“同样的故事,不同的说法”,编程亦可如此。本书分别使用33 种方法,在不同的约束定义下,实现了同一个词频统计任务,展示出风格迥异的编程风格,帮助读者加深对程序设计和系统设计方式的理解,为读者提供崭新的编程思路。 本书适合计算机专业的学生、有一定编程基础的程序员以及任何有志提高编程水平的人。

立即下载
50积分/C币
编程风格 好代码的逻辑 英文版

Comprehensive collection of well-known, and not so well-known, programming styles using a simple computational task, term frequency. All programs run with the following command line: $ python tf-NN.py ../pride-and-prejudice.txt Explanations and historical context for all these styles can be found in the companion book Exercises in Programming Style. Additions are welcome! You can contribute: new exercises related to the existing styles an entirely new programming style new names for the existing styles discussion of names, pros and cons of each style Because this project and the companion book are used in courses, at the suggestion of several students I am no longer accepting contributions of the existing styles written in different programming languages. That is the first exercise that the students do. Having the solutions easily available here will rob future students of the learning experience! Please follow the conventions suggested by the existing code base, specifically, if you are contributing a new style, make a new folder called nn-funname and add an example program in that folder called tf-nn.ext. (nn is the next avalaible number in the collection) Additionally, add a README.md file that clearly describes the contraints for writing programs in that style. I will only consider new styles corresponding to constraints that are clearly different from the ones that already exist in the collection. (different programs written in existing styles are exercises for students, and should not be here) Contributions of new names and discussion should be done under Issues or on the Wiki part of this repo. To test your work, make sure your script is executable and then run: ./test/test.sh NN Where NN is the number prefix of the directory you're adding. Never stop exercising! Love, Crista P.S. Inspiration for this collection: http://en.wikipedia.org/wiki/Exercises_in_Style

立即下载
3积分/C币
微软.NET代码的编程风格指导规范PDF

本文档描述了微软一站式代码示例库项目组所采纳的关于本地 C++ 和 .NET (C# 和VB.NET)代码的编程风格指导规范

立即下载
5积分/C币
编程的本质(Elements of Programming)(密码www.infoxa.com)

注:本书中文版,将由北京大学裘宗燕老师翻译,预计2010年冬出版 作者: (美)Alexander Stepanov  Paul McJones 著 ISBN: 978-7-111-30027-4 定价: 49.00 页数: 272 出版日期: 2010年03月18日 “要是问一位机械、建筑或电子工程师,如果不依靠坚实的数学基础,他们能走多远。他们会告诉你‘走不了多远’。而所谓的软件工程师在实践其技能时,却常常 对他们所做工作的数学基础知之甚少,甚至一无所知。同时我们也很奇怪为什么软件由于不能按时发布并充斥错误而声名狼藉,而其他工程师却能按时完成其桥梁、 汽车、各种电子装置等,而且有很少的缺陷。本书就是想纠正这种不平衡现象。我在Adobe的高级开发团队的成员们,但凡参加了基于同样材料的课程,都觉得 付出的时间获益匪浅。初看可能觉得这种高度技术性的文字只是为计算机科学家写的,其实所有从事实际工作的软件工程师都应该来读。” —— Martin Newell,Adobe 院士 “本书包含一些我所见过的最美的代码。” ——Bjarne Stroustrup,C++ 设计者 “我很高兴看到Alex课程的内容。作为Silicon Graphics的CTO时,我曾大力支持这一课程的开发和教授,现在这本书已经能被所有程序员阅读了。” ——Forest Baskett,合伙人,New Enterprise Associates “Paul的耐心和在体系结构方面的经验帮助把Alex的数学方法 组织成为一套高度结构化的大厦——功德无量!” ——Robert W. Taylor,Xerox PARC CSL和DEC系统研究中心创始人

立即下载
30积分/C币
编程珠玑 第二版(Programming Pearls,2nd Edition)(英文版+中文版+源码打包)PDF高清

【下载说明】<br>这里提供给大家的是此IT经典书籍第二版的中/英/源代码打包下载。其中中/英版均为高清PDF格式,源代码是我打作者Jon Bentley提供的网站下载来的:<br>http://www.cs.bell-labs.com/cm/cs/pearls/code.html<br><br>【作者简介】<br>Jon Bentley是位于新泽西州Murray Hill的朗讯贝尔实验室计算机科学研究中心的技术委员会委员。Jon自1998年就成为《Dr.Dobb'S Journal》杂志的特约编辑。他的“编程珠玑”专栏多年来一直是顶级学术杂志《Communications of the ACM》最风行的特色专栏之一,而本书正是建立在这些专栏的基础之上。<br><br>【内容提要】<br>本书是作者编程经验的结晶,由发表在杂志上的专栏文章构成,每一章内容相对独立,但都是编程过程中的有机组成部分。本书内容包括问题定义、算法、数据结构、程序验证与测试、程序优化与效率问题,以及这些技巧在排序、查找和字符串处理等方面的几个实际应用。<br>本书每章末尾都附带有相关内容的问题,附录中给出了一些问题的提示和解答。仔细思考问题或与同事进行讨论,可以巩固所学知识,将作者的经验应用到自己的编程实践中。本书主要针对有过大型项目编程经验的程序员。<br><br>【前言摘要】<br>计算机程序设计涉及诸多方面。Fred Brooks在《Mythical Man Month》中描述了一幅广阔的画卷;他的作品侧重于讲述管理在大型软件项目中所扮演的关键角色。更为具体一点的是Steve McConnell在《Code Complete》中介绍的优美的程序设计风格,书中涉及的那些主题对于优秀的软件和程序员来说都是至关重要的。但不幸的是,合理软件工程原则指导下的精巧的应用程序并非总是可以打动人心--除非软件按时全部完成并运转正常。 关于本书 本书涉及的主题是计算机专业领域中更为迷人的一个方面:这是一些超出了可靠工程学范畴、位于洞察力和创造力王国中的程序设计珍珠。

立即下载
50积分/C币
编程风格:好代码的逻辑 - 随书代码

《编程风格:好代码的逻辑》 随书代码, 值得的学习。

立即下载
0积分/C币
The C Programming Language中文版+英文版 经典C编程书籍高清PDF+书签

C语言编程必看书籍之一,个人感觉入门用C和指针, 提升看The C Programming Language,习题加课后讲解认真做,C语言精通不是问题

立即下载
3积分/C币
Go Web Programming(《Go Web 编程》英文版 作者:Sau Sheong Chang)

Go Web Programming teaches you how to build scalable, high-performance web applications in Go using modern design principles. About the Technology The Go language handles the demands of scalable, high-performance web applications by providing clean and fast compiled code, garbage collection, a simple concurrency model, and a fantastic standard library. It’s perfect for writing microservices or building scalable, maintainable systems. About the Book Go Web Programming teaches you how to build web applications in Go using modern design principles. You’ll learn how to implement the dependency injection design pattern for writing test doubles, use concurrency in web applications, and create and consume JSON and XML in web services. Along the way, you’ll discover how to minimize your dependence on external frameworks, and you’ll pick up valuable productivity techniques for testing and deploying your applications.

立即下载
2积分/C币
C++ GUI Programming with Qt 4 完全版本——中英文版(中文版含word pdf)+例程

C++ GUI Programming with Qt 4,英文原版包含chm和pdf格式,中文版含word pdf两个版本,另包含各章节例程

立即下载
3积分/C币
Python核心编程第二版(Core Python Programming ) 中文版+英文版+源码+习题答案,书籍是官方原版,带有书签

Python核心编程第二版(Core Python Programming ) 中文版+英文版+源码+习题答案,书籍是官方原版,带有书签

立即下载
2积分/C币
C++ programming language第四版(中英文版 高清pdf)

C++之父Bjarne Stroustrup经典之作,C++程序设计语言》(原书第4版)是C++领域最经典的参考书,介绍了C++11的各项新特性和新功能。全书共分四部分。第一部分(第1~5章)是引言,包括C++的背景知识,C++语言及其标准库的简要介绍;第二部分(第6~15章)介绍C++的内置类型和基本特性,以及如何用它们构造程序;第三部分(第16~29章)介绍C++的抽象机制及如何用这些机制编写面向对象程序和泛型程序;第四部分(第30~44章)概述标准库并讨论一些兼容性问题。由于篇幅问题,原书中文版分两册出版,分别对应原书的第一至三部分和第四部分。这一册为第一至三部分。

立即下载
3积分/C币
Python编程:从入门到实践的原英文版 Python Crash Course : Eric Matthes

Python编程:从入门到实践的 Python Crash Course : Eric Matthes

立即下载
3积分/C币
CorePythonProgramming Python核心编程第二版全集 中文版+英文版+源码+习题答案

CorePythonProgramming Python核心编程第二版全集 ——中文版+英文版+源码+习题答案 全部收集在一起,免费分享。 习题答案其实在英文原版书籍的背后就有的。

立即下载
50积分/C币
C程序设计语言(第2版),The C Programming Language完整纯净英文版

C程序设计语言(第2版),The C Programming Language(2nd edition)完整纯净英文版

立即下载
50积分/C币
The C Programming Language全集-包含中文版pdf、英文版pdf及chm、英文版习题解答

The C Programming Language全集-包含中文版pdf、英文版pdf及chm、英文版习题解答

立即下载
3积分/C币
The C Programming Language 第二版 英文版

The C programming Language 第二版英文版 內容列表 Table of Contents Preface.......................................................... Preface to the first edition..................................... Introduction..................................................... Chapter 1 - A Tutorial Introduction.............................. 1.1 Getting Started................................ 1.2 Variables and Arithmetic Expressions........... 1.3 The for statement.............................. 1.4 Symbolic Constants............................. 1.5 Character Input and Output..................... 1.5.1 File Copying.......................... 1.5.2 Character Counting.................... 1.5.3 Line Counting......................... 1.5.4 Word Counting......................... 1.6 Arrays......................................... 1.7 Functions...................................... 1.8 Arguments - Call by Value...................... 1.9 Character Arrays............................... 1.10 External Variables and Scope.................. Chapter 2 - Types, Operators and Expressions..................... 2.1 Variable Names................................. 2.2 Data Types and Sizes........................... 2.3 Constants...................................... 2.4 Declarations................................... 2.5 Arithmetic Operators........................... 2.6 Relational and Logical Operators............... 2.7 Type Conversions............................... 2.8 Increment and Decrement Operators.............. 2.9 Bitwise Operators.............................. 2.10 Assignment Operators and Expressions.......... 2.11 Conditional Expressions....................... 2.12 Precedence and Order of Evaluation............ Chapter 3 - Control Flow......................................... 3.1 Statements and Blocks.......................... 3.2 If-Else........................................ 3.3 Else-If........................................ 3.4 Switch......................................... 3.5 Loops - While and For.......................... 3.6 Loops - Do-While............................... 3.7 Break and Continue............................. 3.8 Goto and labels................................ Chapter 4 - Functions and Program Structure...................... 4.1 Basics of Functions............................ 4.2 Functions Returning Non-integers............... 4.3 External Variables............................. 4.4 Scope Rules.................................... 4.5 Header Files................................... 4.6 Static Variables................................ 4.7 Register Variables.............................. 4.8 Block Structure................................. 4.9 Initialization.................................. 4.10 Recursion...................................... 4.11 The C Preprocessor............................. 4.11.1 File Inclusion........................ 4.11.2 Macro Substitution.................... 4.11.3 Conditional Inclusion................. Chapter 5 - Pointers and Arrays.................................. 5.1 Pointers and Addresses......................... 5.2 Pointers and Function Arguments................ 5.3 Pointers and Arrays............................ 5.4 Address Arithmetic............................. 5.5 Character Pointers and Functions............... 5.6 Pointer Arrays; Pointers to Pointers........... 5.7 Multi-dimensional Arrays....................... 5.8 Initialization of Pointer Arrays............... 5.9 Pointers vs. Multi-dimensional Arrays.......... 5.10 Command-line Arguments........................ 5.11 Pointers to Functions......................... 5.12 Complicated Declarations...................... Chapter 6 - Structures........................................... 6.1 Basics of Structures........................... 6.2 Structures and Functions....................... 6.3 Arrays of Structures........................... 6.4 Pointers to Structures......................... 6.5 Self-referential Structures.................... 6.6 Table Lookup................................... 6.7 Typedef........................................ 6.8 Unions......................................... 6.9 Bit-fields..................................... Chapter 7 - Input and Output..................................... 7.1 Standard Input and Output....................... 7.2 Formatted Output - printf....................... 7.3 Variable-length Argument Lists.................. 7.4 Formatted Input - Scanf......................... 7.5 File Access..................................... 7.6 Error Handling - Stderr and Exit................ 7.7 Line Input and Output........................... 7.8 Miscellaneous Functions......................... 7.8.1 String Operations...................... 7.8.2 Character Class Testing and Conversion. 7.8.3 Ungetc................................. 7.8.4 Command Execution...................... 7.8.5 Storage Management..................... 7.8.6 Mathematical Functions................. 7.8.7 Random Number generation............... Chapter 8 - The UNIX System Interface............................ 8.1 File Descriptors............................... 8.2 Low Level I/O - Read and Write................. 8.3 Open, Creat, Close, Unlink..................... 8.4 Random Access - Lseek.......................... 8.5 Example - An implementation of Fopen and Getc.. 8.6 Example - Listing Directories.................. 8.7 Example - A Storage Allocator.................. Appendix A - Reference Manual.................................... A.1 Introduction................................... A.2 Lexical Conventions............................ A.2.1 Tokens................................ A.2.2 Comments.............................. A.2.3 Identifiers........................... A.2.4 Keywords.............................. A.2.5 Constants............................. A.2.6 String Literals....................... A.3 Syntax Notation................................ A.4 Meaning of Identifiers......................... A.4.1 Storage Class......................... A.4.2 Basic Types........................... A.4.3 Derived types......................... A.4.4 Type Qualifiers....................... A.5 Objects and Lvalues............................ A.6 Conversions.................................... A.6.1 Integral Promotion.................... A.6.2 Integral Conversions.................. A.6.3 Integer and Floating.................. A.6.4 Floating Types........................ A.6.5 Arithmetic Conversions................ A.6.6 Pointers and Integers................. A.6.7 Void.................................. A.6.8 Pointers to Void...................... A.7 Expressions.................................... A.7.1 Pointer Conversion.................... A.7.2 Primary Expressions................... A.7.3 Postfix Expressions................... A.7.4 Unary Operators....................... A.7.5 Casts................................. A.7.6 Multiplicative Operators.............. A.7.7 Additive Operators.................... A.7.8 Shift Operators....................... A.7.9 Relational Operators.................. A.7.10 Equality Operators................... A.7.11 Bitwise AND Operator................. A.7.12 Bitwise Exclusive OR Operator........ A.7.13 Bitwise Inclusive OR Operator........ A.7.14 Logical AND Operator................. A.7.15 Logical OR Operator.................. A.7.16 Conditional Operator................. A.7.17 Assignment Expressions............... A.7.18 Comma Operator.......................... A.7.19 Constant Expressions.................... A.8 Declarations..................................... A.8.1 Storage Class Specifiers................. A.8.2 Type Specifiers.......................... A.8.3 Structure and Union Declarations......... A.8.4 Enumerations............................. A.8.5 Declarators.............................. A.8.6 Meaning of Declarators................... A.8.7 Initialization........................... A.8.8 Type names............................... A.8.9 Typedef.................................. A.8.10 Type Equivalence........................ A.9 Statements....................................... A.9.1 Labeled Statements....................... A.9.2 Expression Statement..................... A.9.3 Compound Statement....................... A.9.4 Selection Statements..................... A.9.5 Iteration Statements..................... A.9.6 Jump statements.......................... A.10 External Declarations........................... A.10.1 Function Definitions.................... A.10.2 External Declarations................... A.11 Scope and Linkage............................... A.11.1 Lexical Scope........................... A.11.2 Linkage................................. A.12 Preprocessing................................... A.12.1 Trigraph Sequences...................... A.12.2 Line Splicing........................... A.12.3 Macro Definition and Expansion.......... A.12.4 File Inclusion.......................... A.12.5 Conditional Compilation................. A.12.6 Line Control............................ A.12.7 Error Generation........................ A.12.8 Pragmas................................. A.12.9 Null directive.......................... A.12.10 Predefined names....................... A.13 Grammar......................................... Appendix B - Standard Library.................................... B.1.1 File Operations................................ B.1.2 Formatted Output......................... B.1.3 Formatted Input.......................... B.1.4 Character Input and Output Functions..... B.1.5 Direct Input and Output Functions........ B.1.6 File Positioning Functions............... B.1.7 Error Functions.......................... B.2 Character Class Tests: <ctype.h>................. B.3 String Functions: <string.h>..................... B.4 Mathematical Functions: <math.h>................. B.5 Utility Functions: <stdlib.h>....................

立即下载
50积分/C币
编程珠玑+第二版(Programming+Pearls,2nd+Edition)(英文版+中文版+源码打包)PDF高清.rar

编程珠玑+第二版(Programming+Pearls,2nd+Edition)(英文版+中文版+源码打包)PDF高清.rar

立即下载
50积分/C币
ros机器人编程(从基本概念到机器人应用程序编程实战)中英文两版ROS_Robot_Programming_CN

ros机器人编程(从基本概念到机器人应用程序编程实战)中英文两版ROS_Robot_Programming_CN ...... 10.1.ROS支持的机器人 283 10.2.TurtleBot3系列机器人 283 10.3.TurleBot3的硬件 284 10.4.TurtleBot3软件 287 10.5.TurtleBot3的开发环境 288 10.6.TurtleBot3远程控制 291 10.6.1.遥控TurtleBot3 291 10.6.2.可视化TurtleBot3 293 目录 第9章

立即下载
5积分/C币
《The C Programming Language》---2nd---英文PDF

够权威<br><br>Brian W.Kernighan && Dennis M.Ritchie

立即下载
30积分/C币
Programming Windows (5th Edition) Windows程序设计 第5版 英文版

Windows编程的圣经,曾经伴随着近50万Windows程序员步入编程殿堂,成长为IT时代的技术精英。 由于该书的后续版本即第6版彻底重写,内容全面革新,不再有Win32 API相关的内容,因此这本英文第5版原版也成为目前市面上已经绝版的珍贵资料。 尽管本书出版年份较早,但作为Windows开发人员的必备参考,本书涵盖了基础知识和中高级主题,全面地介绍了Windows程序设计所涉及的细枝末节,旨在帮助读者从高屋见瓴的角度,建立完整的知识体系,为以后的职业生涯奠定良好的基础。全书共3部分23章。 第1~12章着重介绍基础知识,第13~18章的主题为图形,第19~23章涉及更多高级主题。

立即下载
15积分/C币
Google-Java编程风格指南中文版 高清完整PDF版

这份文档是Google Java编程风格规范的完整定义。当且仅当一个Java源文件符合此文档中的规则, 我们才认为它符合Google的Java编程风格。

立即下载
50积分/C币
The C Programming language(c程序设计语言) K&R经典, 中文及英文版(chm,pdf)

The C Programming language(c程序设计语言) K&amp;R经典, 中文及英文版(chm,pdf) 国内引用的人多, 看的人少. 如果你真的认真读读, 相信会有很大收获.

立即下载
5积分/C币
Cross-Platform GUI Programming with wxWidgets(中英文版-免积分)

wxWidgets是一个给程序员使用的开发包,这个开发包用来开发用于桌面电脑或者移动设备的GUI(图形用户界面,下同)应用程序。它提供了一个编程框架, 作了很多底层的工作以便给应用程序及其空间提供默认的行为。wxWidgets库给程序员提供了大量的类,这些类支持很多方法(方法是C++中的关键词)以供其 使用,程序员可以通过重载这些方法来实现定制的行为,一个典型GUI程序所作的事情包括:显示一个包含各种空间的窗口,在窗口中绘制特定的图形或者图像, 响应来自鼠标、键盘以及其他输入设备的输入,和其他的进程通信,调用别的应用程序等,wxWidgets所做的事情,就是让程序员可以通过更简单的手段来实现所有 这些当代应用程序的通用特性。

立即下载
3积分/C币
The Go Programming Language 英文版 PDF

Go程序设计语言英文版,无水印,,强烈建议大家看英文版,

立即下载
8积分/C币
PHP 一个好看的border-style 图片边框样式

PHP 一个好看的border-style 图片边框样式

立即下载
3积分/C币
The C Programming Language中文版和英文版两版.rar

C语言之父经典著作,堪称C语言圣经 內容列表 Table of Contents Preface.......................................................... Preface to the first edition..................................... Introduction..................................................... Chapter 1 - A Tutorial Introduction.............................. 1.1 Getting Started................................ 1.2 Variables and Arithmetic Expressions........... 1.3 The for statement.............................. 1.4 Symbolic Constants............................. 1.5 Character Input and Output..................... 1.5.1 File Copying.......................... 1.5.2 Character Counting.................... 1.5.3 Line Counting......................... 1.5.4 Word Counting......................... 1.6 Arrays......................................... 1.7 Functions...................................... 1.8 Arguments - Call by Value...................... 1.9 Character Arrays............................... 1.10 External Variables and Scope.................. Chapter 2 - Types, Operators and Expressions..................... 2.1 Variable Names................................. 2.2 Data Types and Sizes........................... 2.3 Constants...................................... 2.4 Declarations................................... 2.5 Arithmetic Operators........................... 2.6 Relational and Logical Operators............... 2.7 Type Conversions............................... 2.8 Increment and Decrement Operators.............. 2.9 Bitwise Operators.............................. 2.10 Assignment Operators and Expressions.......... 2.11 Conditional Expressions....................... 2.12 Precedence and Order of Evaluation............ Chapter 3 - Control Flow......................................... 3.1 Statements and Blocks.......................... 3.2 If-Else........................................ 3.3 Else-If........................................ 3.4 Switch......................................... 3.5 Loops - While and For.......................... 3.6 Loops - Do-While............................... 3.7 Break and Continue............................. 3.8 Goto and labels................................ Chapter 4 - Functions and Program Structure...................... 4.1 Basics of Functions............................ 4.2 Functions Returning Non-integers............... 4.3 External Variables............................. 4.4 Scope Rules.................................... 4.5 Header Files................................... 4.6 Static Variables................................ 4.7 Register Variables.............................. 4.8 Block Structure................................. 4.9 Initialization.................................. 4.10 Recursion...................................... 4.11 The C Preprocessor............................. 4.11.1 File Inclusion........................ 4.11.2 Macro Substitution.................... 4.11.3 Conditional Inclusion................. Chapter 5 - Pointers and Arrays.................................. 5.1 Pointers and Addresses......................... 5.2 Pointers and Function Arguments................ 5.3 Pointers and Arrays............................ 5.4 Address Arithmetic............................. 5.5 Character Pointers and Functions............... 5.6 Pointer Arrays; Pointers to Pointers........... 5.7 Multi-dimensional Arrays....................... 5.8 Initialization of Pointer Arrays............... 5.9 Pointers vs. Multi-dimensional Arrays.......... 5.10 Command-line Arguments........................ 5.11 Pointers to Functions......................... 5.12 Complicated Declarations...................... Chapter 6 - Structures........................................... 6.1 Basics of Structures........................... 6.2 Structures and Functions....................... 6.3 Arrays of Structures........................... 6.4 Pointers to Structures......................... 6.5 Self-referential Structures.................... 6.6 Table Lookup................................... 6.7 Typedef........................................ 6.8 Unions......................................... 6.9 Bit-fields..................................... Chapter 7 - Input and Output..................................... 7.1 Standard Input and Output....................... 7.2 Formatted Output - printf....................... 7.3 Variable-length Argument Lists.................. 7.4 Formatted Input - Scanf......................... 7.5 File Access..................................... 7.6 Error Handling - Stderr and Exit................ 7.7 Line Input and Output........................... 7.8 Miscellaneous Functions......................... 7.8.1 String Operations...................... 7.8.2 Character Class Testing and Conversion. 7.8.3 Ungetc................................. 7.8.4 Command Execution...................... 7.8.5 Storage Management..................... 7.8.6 Mathematical Functions................. 7.8.7 Random Number generation............... Chapter 8 - The UNIX System Interface............................ 8.1 File Descriptors............................... 8.2 Low Level I/O - Read and Write................. 8.3 Open, Creat, Close, Unlink..................... 8.4 Random Access - Lseek.......................... 8.5 Example - An implementation of Fopen and Getc.. 8.6 Example - Listing Directories.................. 8.7 Example - A Storage Allocator.................. Appendix A - Reference Manual.................................... A.1 Introduction................................... A.2 Lexical Conventions............................ A.2.1 Tokens................................ A.2.2 Comments.............................. A.2.3 Identifiers........................... A.2.4 Keywords.............................. A.2.5 Constants............................. A.2.6 String Literals....................... A.3 Syntax Notation................................ A.4 Meaning of Identifiers......................... A.4.1 Storage Class......................... A.4.2 Basic Types........................... A.4.3 Derived types......................... A.4.4 Type Qualifiers....................... A.5 Objects and Lvalues............................ A.6 Conversions.................................... A.6.1 Integral Promotion.................... A.6.2 Integral Conversions.................. A.6.3 Integer and Floating.................. A.6.4 Floating Types........................ A.6.5 Arithmetic Conversions................ A.6.6 Pointers and Integers................. A.6.7 Void.................................. A.6.8 Pointers to Void...................... A.7 Expressions.................................... A.7.1 Pointer Conversion.................... A.7.2 Primary Expressions................... A.7.3 Postfix Expressions................... A.7.4 Unary Operators....................... A.7.5 Casts................................. A.7.6 Multiplicative Operators.............. A.7.7 Additive Operators.................... A.7.8 Shift Operators....................... A.7.9 Relational Operators.................. A.7.10 Equality Operators................... A.7.11 Bitwise AND Operator................. A.7.12 Bitwise Exclusive OR Operator........ A.7.13 Bitwise Inclusive OR Operator........ A.7.14 Logical AND Operator................. A.7.15 Logical OR Operator.................. A.7.16 Conditional Operator................. A.7.17 Assignment Expressions............... A.7.18 Comma Operator.......................... A.7.19 Constant Expressions.................... A.8 Declarations..................................... A.8.1 Storage Class Specifiers................. A.8.2 Type Specifiers.......................... A.8.3 Structure and Union Declarations......... A.8.4 Enumerations............................. A.8.5 Declarators.............................. A.8.6 Meaning of Declarators................... A.8.7 Initialization........................... A.8.8 Type names............................... A.8.9 Typedef.................................. A.8.10 Type Equivalence........................ A.9 Statements....................................... A.9.1 Labeled Statements....................... A.9.2 Expression Statement..................... A.9.3 Compound Statement....................... A.9.4 Selection Statements..................... A.9.5 Iteration Statements..................... A.9.6 Jump statements.......................... A.10 External Declarations........................... A.10.1 Function Definitions.................... A.10.2 External Declarations................... A.11 Scope and Linkage............................... A.11.1 Lexical Scope........................... A.11.2 Linkage................................. A.12 Preprocessing................................... A.12.1 Trigraph Sequences...................... A.12.2 Line Splicing........................... A.12.3 Macro Definition and Expansion.......... A.12.4 File Inclusion.......................... A.12.5 Conditional Compilation................. A.12.6 Line Control............................ A.12.7 Error Generation........................ A.12.8 Pragmas................................. A.12.9 Null directive.......................... A.12.10 Predefined names....................... A.13 Grammar......................................... Appendix B - Standard Library.................................... B.1.1 File Operations................................ B.1.2 Formatted Output......................... B.1.3 Formatted Input.......................... B.1.4 Character Input and Output Functions..... B.1.5 Direct Input and Output Functions........ B.1.6 File Positioning Functions............... B.1.7 Error Functions.......................... B.2 Character Class Tests: &lt;ctype.h&gt;................. B.3 String Functions: &lt;string.h&gt;..................... B.4 Mathematical Functions: &lt;math.h&gt;................. B.5 Utility Functions: &lt;stdlib.h&gt;....................

立即下载
4积分/C币
C#入门经典(最新英文版):Beginning c# 6.0 Programming with Visual Studio 2015

C#入门经典(最新英文版),对应VS2015,另推荐电子书阅读软件calibre,可以在PC端阅读,也可转换为其他电子书格式

立即下载
50积分/C币
the C++ Programming Language 4th edition 英文原版

原书排版 文字可复制目录标签 C++ feels like a new language. That is, I can express my ideas more clearly, more simply, and more directly in C++11 than I could in C++98. Furthermore, the resulting programs are better checked by the compiler and run faster.

立即下载
50积分/C币
关闭
img

spring mvc+mybatis+mysql+maven+bootstrap 整合实现增删查改简单实例.zip

资源所需积分/C币 当前拥有积分 当前拥有C币
5 0 0
点击完成任务获取下载码
输入下载码
为了良好体验,不建议使用迅雷下载
img

Exercises in Programming Style 编程风格:好代码的逻辑(英文版)

会员到期时间: 剩余下载个数: 剩余C币: 剩余积分:0
为了良好体验,不建议使用迅雷下载
VIP下载
您今日下载次数已达上限(为了良好下载体验及使用,每位用户24小时之内最多可下载20个资源)

积分不足!

资源所需积分/C币 当前拥有积分
您可以选择
开通VIP
4000万
程序员的必选
600万
绿色安全资源
现在开通
立省522元
或者
购买C币兑换积分 C币抽奖
img

资源所需积分/C币 当前拥有积分 当前拥有C币
5 4 45
为了良好体验,不建议使用迅雷下载
确认下载
img

资源所需积分/C币 当前拥有积分 当前拥有C币
5 0 0
为了良好体验,不建议使用迅雷下载
VIP和C币套餐优惠
img

资源所需积分/C币 当前拥有积分 当前拥有C币
5 4 45
您的积分不足,将扣除 10 C币
为了良好体验,不建议使用迅雷下载
确认下载
下载
您还未下载过该资源
无法举报自己的资源

兑换成功

你当前的下载分为234开始下载资源
你还不是VIP会员
开通VIP会员权限,免积分下载
立即开通

你下载资源过于频繁,请输入验证码

您因违反CSDN下载频道规则而被锁定帐户,如有疑问,请联络:webmaster@csdn.net!

举报

若举报审核通过,可返还被扣除的积分

  • 举报人:
  • 被举报人:
  • *类型:
    • *投诉人姓名:
    • *投诉人联系方式:
    • *版权证明:
  • *详细原因: