C++ Primer Plus(第6版)英文版(上下冊)

C++ Primer Plus(第6版)英文版(上下冊) pdf epub mobi txt 電子書 下載2025

出版者:
作者:[美]史蒂芬·普拉達
出品人:
頁數:1420
译者:
出版時間:2015-3
價格:0
裝幀:平裝
isbn號碼:9787115381118
叢書系列:
圖書標籤:
  • C/C++
  • 計算機科學
  • 計算機/編程算法
  • 編程
  • 教材
  • 工具教程
  • 原著
  • CS
  • C++
  • 編程
  • 入門
  • 學習
  • 英文
  • 書籍
  • Primer Plus
  • 第6版
  • 上下冊
  • 技術
想要找書就要到 小美書屋
立刻按 ctrl+D收藏本頁
你會得到大驚喜!!

具體描述

C++是在C語言基礎上開發的一種集麵嚮對象編程、泛型編程和過程化編程於一體的編程語言,是C語言的超集。《C++ Primer Plus(第6版)英文版(上、下冊)》是根據2003年的ISO/ANSI C++標準編寫的,通過大量短小精悍的程序詳細而全麵地闡述瞭C++的基本概念和技術,並專闢一章介紹瞭C++11新增的功能。

全書分18章和10個附錄,分彆介紹瞭C++程序的運行方式、基本數據類型、復閤數據類型、循環和關係錶達式、分支語句和邏輯運算符、函數重載和函數模闆、內存模型和名稱空間、類的設計和使用、多態、虛函數、動態內存分配、繼承、代碼重用、友元、異常處理技術、string類和標準模闆庫、輸入/輸齣、C++11新增功能等內容。

《C++ Primer Plus(第6版)英文版(上、下冊)》針對C++初學者,書中從C語言基礎知識開始介紹,然後在此基礎上詳細闡述C++新增的特性,因此不要求讀者有C語言方麵的背景知識。

《C++ Primer Plus(第6版)英文版(上、下冊)》可作為高等院校C++課程的教材,也可供初學者自學C++時使用。

著者簡介

Stephen Prata在美國加州肯特菲爾得的馬林學院教授天文、物理和計算機科學。他畢業於加州理工學院,在美國加州大學伯剋利分校獲得博士學位。他單獨或與他人閤作編寫的編程圖書有十多本,包括C++ Primer Plus的之前版本以及C Primer Plus,後者還獲得瞭計算機齣版聯閤會1991年度最佳“How-to”計算機圖書奬提名。

圖書目錄

上冊
Introduction 1
1 Getting Started with C++ 9
Learning C++: What Lies Before You 10
The Origins of C++: A Little History 10
Portability and Standards 15
The Mechanics of Creating a Program 18
Summary 25
2 Setting Out to C++ 27
C++ Initiation 27
C++ Statements 41
More C++ Statements 45
Functions 48
Summary 61
Chapter Review 62
Programming Exercises 62
3 Dealing with Data 65
Simple Variables 66
The const Qualifier 90
Floating-Point Numbers 92
C++ Arithmetic Operators 97
Summary 109
Chapter Review 110
Programming Exercises 111
4 Compound Types 115
Introducing Arrays 116
Strings 120
Introducing the string Class 131
Introducing Structures 140
Unions 149
Enumerations 150
Pointers and the Free Store 153
Pointers, Arrays, and Pointer Arithmetic 167
Combinations of Types 184
Array Alternatives 186
Summary 190
Chapter Review 191
Programming Exercises 192
5 Loops and Relational Expressions 195
Introducing for Loops 196
The while Loop 224
The do while Loop 231
The Range-Based for Loop (C++11) 233
Loops and Text Input 234
Nested Loops and Two-Dimensional Arrays 244
Summary 249
Chapter Review 250
Programming Exercises 251
6 Branching Statements and Logical Operators 253
The if Statement 254
Logical Expressions 260
The cctype Library of Character Functions 270
The ?: Operator 273
The switch Statement 274
The break and continue Statements 280
Number-Reading Loops 283
Simple File Input/Output 287
Summary 298
Chapter Review 298
Programming Exercises 301
7 Functions: C++’s Programming Modules 305
Function Review 306
Function Arguments and Passing by Value 313
Functions and Arrays 320
Functions and Two-Dimensional Arrays 337
Functions and C-Style Strings 339
Functions and Structures 343
Functions and string Class Objects 353
Functions and array Objects 355
Recursion 357
Pointers to Functions 361
Summary 371
Chapter Review 372
Programming Exercises 374
8 Adventures in Functions 379
C++ Inline Functions 379
Reference Variables 383
Default Arguments 409
Function Overloading 412
Function Templates 419
Summary 442
Chapter Review 443
Programming Exercises 444
9 Memory Models and Namespaces 447
Separate Compilation 447
Storage Duration, Scope, and Linkage 453
Namespaces 482
Summary 497
Chapter Review 498
Programming Exercises 501
10 Objects and Classes 505
Procedural and Object-Oriented Programming 506
Abstraction and Classes 507
Class Constructors and Destructors 524
Knowing Your Objects: The this Pointer 539
An Array of Objects 546
Class Scope 549
Abstract Data Types 552
Summary 557
Chapter Review 558
Programming Exercises 559
11 Working with Classes 563
Operator Overloading 564
Time on Our Hands: Developing an Operator Overloading Example 565
Introducing Friends 578
Overloaded Operators: Member Versus Nonmember Functions 587
More Overloading: A Vector Class 588
Automatic Conversions and Type Casts for Classes 606
Summary 621
ChapterReview 623
Programming Exercises 623
12 Classes and Dynamic Memory Allocation 627
Dynamic Memory and Classes 628
The New, Improved String Class 647
Things to Remember When Using new in Constructors 659
Observations About Returning Objects 662
Using Pointers to Objects 665
Reviewing Techniques 676
A Queue Simulation 678
Summary 699
Chapter Review 700
Programming Exercises 702
下冊
13 Class Inheritance 707
Beginning with a Simple Base Class 708
Inheritance: An Is-a Relationship 720
Polymorphic Public Inheritance 722
Static and Dynamic Binding 737
Access Control: protected 745
Abstract Base Classes 746
Inheritance and Dynamic Memory Allocation 757
Class Design Review 766
Summary 778
Chapter Review 779
Programming Exercises 780
14 Reusing Code in C++ 785
Classes with Object Members 786
Private Inheritance 797
Multiple Inheritance 808
Class Templates 830
Summary 866
Chapter Review 869
Programming Exercises 871
15 Friends, Exceptions, and More 877
F
· · · · · · (收起)

讀後感

評分

鉴于最近关注《C++ Primer Plus》第 6 版的广大编程爱好者日益增多,看来有必要在这里客观地评价一下这本书。 《C++ Primer Plus》第 6 版在美国刚上市不久,我就购买了原版书学习,可以说是第一批看这本书最新版的人。经过半年认真地学习,对这本书有自己客观的看法。本人不...  

評分

很久之前,在网上看到有人推荐C++书籍的时候,有一位说,推荐C++ Primer,注意不是C++ Primer Plus,完全是两本不同的书。后来也零零星星地听到过一些关于这本C++ Primer Plus的评价,大致都是说这本书不行,请去看C++ Primer或者Accelerate C++之类的。 前些日子偶然看到,这...  

評分

因为马上要找工作了,一些一直准备看的书才开始着手看,不过C++基础还是比较好的,看这本书的目的只是为了完善一些细节只是底层的东西以及OPP编程。 当初一直以为这本书比C++ priming写的深,毕竟有个Plus嘛,没想到看了前面两章发现很基础,然后上网查了一下...  

評分

这本书是我在大二的那个暑假和大三第一个学期时候看的。现在回想起来,这本书看的时间真是长啊。当然这么长是有原因的,这本书有一个特点,每一章都有一些简单的课后题目。题目都是非常简单的,不过真的完成每一个题目需要的代码两也是非常大的。看着本书之前只是上课学过C语言...  

評分

Amazon 上第五版有位教授C++的建议阅读顺序是: C++ Primer Plus C++ Primer Thinking in C++ (great book, free on the internet) The C++ Programming Language (by Stroustrup) 第一本我现在看完了7章,在这之前看了大版本C++ How to Program 5/e 相比之下,这本写的要清楚...  

用戶評價

评分

搞錯瞭,讀的是這本

评分

太囉嗦瞭

评分

大概是我迄今讀過的書最認真的一次...沒它我活不下去.

评分

搞錯瞭,讀的是這本

评分

大概是我迄今讀過的書最認真的一次...沒它我活不下去.

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

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