Programming with C++

副标题:无

作   者:(美)John R. Hubbard著

分类号:

ISBN:9787111105367

微信扫一扫,移动浏览光盘

简介

   Programming with C++,Second Edition,is an update of the highly successful first editiona bestseller in Schaum's computer science lineand reflects the new ISO standard for C++,rendering previous C++ guides obsolete. Essential for programmers,280,000 computer science students taking first-level classes,and thousands of advanced placement students,this book is the perfect supplement to the leading textbooks in introductory and higher-level programming courses.    You get a complete overview of the subject. Plus,you get plenty of practice exercises to test your skill. Compatible with any classroom text,Schaum's Outlines let you study at your own pace and remind you of all the important facts you need to rememberfast! And Schaum's Outlines are so complete,they're perfect for preparing for graduate or professional exams.Inside,you will find:    · Full coverage of Computer Science I-II,using the computing language taught by 83% of all colleges;    · Simplified explanations of recursion,logic,polymorphism,algorithms,and more;    · 470 solved problems in computer science,including step-by-step annotations;    · Examples and worked problems that help you master programming with C++.         

目录

chapter 1 elementary c++ programming


1.1 getting started

1.2 some simple programs

1.3 the output operator

1.4 characters and literals

1.5 variables and their declarations

1.6 program tokens

1.7 initalizing variables

1.8 objects,variables,and constants

1.9 the input opera tor


chapter 2 fundamental types


2.1 numeric data types

2.2 the boolean type

2.3 enumeration types

2.4 character types

2.5 integer types

2.6 arithmetic operators

.2.7 the increment and decrement opera tors

2.8 composite assingment operators

2.9 floating-point types

2.10 type conversions

2.11 numeric overflow

2.12 round-off error

2.13 the e-format for floating-point values

2.14 scope


chapter 3 selection


3.1 the if statement

3.2 the if..else statement

3.3 keywords

3.4 comparison operators

3.5 statement blocks

3.6 compound conditions

3.7 short-circuiting

3.8 boolean expressions

3.9 nested selection statements

3.10 the else if construct

3.11 the switch statement

3.12 the conditional expression operator


chapter 4 iteration


4.1 the while statement

4.2 terminating a loop

4.3 the do..while statement

4.4 the for statement

4.5 the break statement

4.6 the continue statement

4.7 the goto statement

4.8 generating pseudo-random numbers


chapter 5 functions


5.1 introduction

5.2 standard c++ library functions

5.3 user-defined functions

5.4 test drivers

5.5 function declarations and defintions

5.6 local variables and functions

5.7 void functions

5.8 boolean functions

5.9 i/o functions

5.10 passing by reference

5.11 passing by constant reference

5.12 inline functions

5.13 scope

5.14 overloading

5.15 the main () function

5.16 default arguments


chapter 6 arrays


6.1 introduction

6.2 processing arrays

6.3 initializing an array

6.4 array index out of bounds

6.5 passing an array to a function

6.6 the linear search algorithm

6.7 the bubble sort algorithm

6.8 the binary search algorithm

6.9 using arrays with enumeration types

6.10 type definitions

6.11 multidimensional arrays


chapter 7 pointers and references


7.1 the reference operator

7.2 references

7.3 pointers

7.4 the dereference operator

7.5 derived types

7.6 objects and lvalues

7.7 returning a reference

7.8 arrays and pointers

7.9 dynamic arrays

7.10 using const with pointers

7.11 arrays of pointers and pointers to arrays

7.12 pointers to pointers

7.13 pointers to functions

7.14 nul,null,and void


chapter 8 c-strings


8.1 introduction

8.2 review of pointers

8.3 c-strings

8.4 string i/o

8.5 some cin member functions

8.6 standard c character functions

8.7 arrays of strings

8.8 atandard c string functions


chapter 9 standard c++ strings


9.1 introduction

9.2 formatted input

9.3 unformatted input

9.4 the standard c++ string type

9.5 files

9.6 string streams


chapter 10 classes


10.1 introduction

10.2 class declara tions

10.3 constructors

10.4 constructor initialization lists

10.5 access functions

10.6 jprivate member functions

10.7 the copy constructor

10.8 the class destructor

10.9 constant objects

10.10 structures

10.11 pointers to objects

10.12 static data members

10.13 static function members


chapter 11 overloading operators


11.1 introduction

11.2 overloading the assingment operator

11.3 the this pointer

11.4 overloading arithmetic operators

11.5 overloading the arithmetic assingment operators

11.6 overloading the relational operators

11.7 overloading stream operators

11.8 overloading operators

11.9 overloading the increment and decrement operators

11.10 overloading the subscript operator


chapter 12 composition and inheritance


12.1 introduction

12.2 composition

12.3 inheritance

12.4 protected class members

12.5 overriding and dominating inherited members

12.6 private access versus protected access

12.7 virtual functions and polymorphism

12.8 virtual destructors

12.9 abstract base classes

12.10 object-oringted programming


chapter 13 templates and iterators


13.1 introduction

13.2 function templates

13.3 class templates

13.4 container classes

13.5 subclass templates

13.6 passing template classes to template parameters

13.7 a class template for linked lists

13.8 iterator classes


chapter 14 standard c++ vectors


14.1 introduction

14.2 iterators on vectors

14.3 assinging vectors

14.4 the erase() and insert() functions

14.5 the find() function

14.6 the c++ standard vector class template

14.7 range checking


chapter 15 container classes


15.1 ansi/iso standard c++

15.2 the standard template library

15.3 standard c++ container class templates

15.4 standard c++ generic algorithms

15.5 header files

appendix a character codes


a.1 the ascii code

a.2 unicode


appendix b standard c++ keywords

appendix c standard c++ operators

appendix d standard c++ container classes


d.1 the vector class template

d.2 the deque class template

d.3 the stack class template

d.4 the queue class template

d.5 the priority_queue class template

d.6 the list class template

d.7 the map class template

d.8 the set class template


appendix e standard c++ generic algorithms

appendix f the standard c library

appendix g hexadecimal numbers

appendix h references

index


已确认勘误

次印刷

页码 勘误内容 提交人 修订印次

Programming with C++
    • 名称
    • 类型
    • 大小

    光盘服务联系方式: 020-38250260    客服QQ:4006604884

    意见反馈

    14:15

    关闭

    云图客服:

    尊敬的用户,您好!您有任何提议或者建议都可以在此提出来,我们会谦虚地接受任何意见。

    或者您是想咨询:

    用户发送的提问,这种方式就需要有位在线客服来回答用户的问题,这种 就属于对话式的,问题是这种提问是否需要用户登录才能提问

    Video Player
    ×
    Audio Player
    ×
    pdf Player
    ×
    Current View

    看过该图书的还喜欢

    some pictures

    解忧杂货店

    东野圭吾 (作者), 李盈春 (译者)

    loading icon