C++ by Example

上传者: sorbicacid | 上传时间: 2021-03-01 13:47:39 | 文件大小: 4.2MB | 文件类型: PDF
Every day, more and more people learn and use the C++ programming Language. I have taught C to thousands of students in my life. I see many of those students now moving to C++ in their school work or career. The C++ language is becoming an industry-accepted standard programming language, using the solid foundation of C to gain a foothold. C++ is simply a better C than C. C++ By Example is one of several books in Que抯 new line of By Example series. The philosophy of these books is simple: The best way to teach computer programming concepts is with multiple examples. Command descriptions, format syntax, and language references are not enough to teach a newcomer a programming language. Only by looking at numerous examples and by running sample programs can programming students get more than just a 揻eel?for the language. Table of Contents Overview I Introduction to C++ 1 Welcome to C++ 2 What Is a Program? 3 Your First C++ Program 4 Variables and Literals 5 Character Arrays and Strings 6 Preprocessor Directives 7 Simple Input/Output II Using C++ Operators 8 Using C++ Math Operators and Precedence 9 Relational Operators 10 Logical Operators 11 Additional C++ Operators III C++ Constructs 12 The while Loop 13 The for Loop 14 Other Loop Options 15 The switch and goto Statements 16 Writing C++ Functions IV Variable Scope and Modular Programming 17 Variable Scope 18 Passing Value 19 Function Return Values and Prototyping 20 Default Arguments and Function Overloading V Character Input/Output and String Functions 21 Device and Character Input/Output 22 Character, String, and Numeric Functions Contents x VI Arrays and Pointers 23 Introducing Arrays 24 Array Processing 25 Multidimensional Arrays 26 Pointers 27 Pointers and Arrays VII Structures and File Input/Output 28 Structures 29 Arrays of Structures 30 Sequential Files 31 Random-Access Files 32 Introduction to Object-Oriented Programming VIII References A Memory Addressing, Binary, and Hexadecimal Review B Answers to Review

文件下载

评论信息

  • oldunix :
    不是我想要的例子
    2015-01-11

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明