Object-oriented programming : using C++ for engineering and technology = 面向对象编程 : 工程和技...
副标题:无
作 者:Goran Svenk著.
分类号:
ISBN:9787302072164
微信扫一扫,移动浏览光盘
简介
[a href="http://www.china-pub.com/computers/common/info.asp?id=13958" target="_blank"][font color="#ff6600"]查看本书中文版[/font][/a]
本书适合于有一定编程基础的中高级程序员阅读,书中鼓励用户使用纯粹的面向对象的方法来解决问题。本书首先讨论了c++对c语言过程化编程的增强功能,分析了这两种语言的异同,以方便读者的学习。然后通过丰富的工程技术领域的实际示例引导读者对面向对象的编程概念进行深入的剖析和研究。每一章都包含了许多程序示例、编程项目、实际案例分析和问题讨论,可以有效地帮助读者学习和掌握新的、有用的c++技巧。另外,本书中的所有内容都基于ansi/iso定义的最新的c++标准,使得本书成为一本c++程序员不可或缺的学习和参考书。 本书尤其适合作为电子、机电等相关工科专业的c++教材。
目录
1 moving from c to c++
1.1 differences between c and c++
1.1.1 the c++ standard and compilers
1.1.2 c++ comments
1.1.3 header files
1.1.4 data types
1.1.5 resolving scope and variable declarations
1.1.6 constants
1.2 c++ input/output
1.2.1 c++ i/o methods
1.2.2 c++ formatting
1.3 namespaces
2 c++ function enhancements
2.1 c++ prototyping
2.2 inline functions
2.2.1 using c macros
2.2.2 using inline functions
2.3 default arguments
2.4 function overloading
2.5 function templates
.3 pointers, references, and dynamic memopy allocation
3.1 c++ pointers
3.1.1 reviewing the fundamentals of pointers
3.1.2 differences between c and c++ pointers
3.2 references
3.2.1 references as independent variables
3.2.2 passing references to functions
3.2.3 returning references by functions
3.3 using references and pointers with constants
3.4 dynamic memory allocation
3.4.1 static versus dynamic memory allocation
3.4.2 dynamic arrays
3.5 case study: lottery random number generator
4 classes and objects
4.1 procedural versus object-oriented programming
4.2 c++ structures versus c structures
4.3 classes
4.3.1 accessing class members
4.3.2 member functions
4.3.3 allocating objects at run-time
4.4 constructor and destructor functions
4.4.1 constructors
4.4.2 the class destructor
4.5 case study: data encryption
5 classes: advanced topics
5.1 passing to and returning objects from functions
5.2 copy constructor
5.3 friend functions and classes
5.3.1 friend functions
5.3.2 friend classes
5.4 static members
5.4.1 static data members
5.4.2 static member functions
5.5 the this pointer
5.6 constant member functions
6 operator overloading
6.1 fundamentals of operator overloading
6.2 operator functions
6.3 overloading binary operators
6.4 overloading unary operators
6.5 overloading the stream operators
6.6 case study: ac current calculator
7 inheritance
7.1 fundamentals of inheritance
7.2 the protected access specifier
7.3 constructing and destroying derived classes
7.4 multiple inheritance
7.4.1 direct multiple inheritance
7.4.2 indirect multiple inheritance
7.5 dominating and overriding baseclass members
8 composition
8.1 composition versus inheritance
8.2 using composition
8.3 constructing and destroying composed classes
8.4 combining inheritance and composition
8.5 case study: computer system configurator
9 polymorphism and virtual functions
9.1 dynamic versus static binding
9.2 virtual functions
9.3 abstract base classes
9.4 virtual destructors
9.5 using polymorphism
9.6 case study: logic circuit calculator
10 templates
10.1 class templates
10.1.1 template parameters
10.1.2 member functions of class templates
10.1.3 using friends and static members with class templates
10.1.4 using the void pointer
10.2 templates and inheritance
10.3 containers and iterators
10.3.1 sequence containers
10.3.2 associative containers
10.3.3 iterators
10.4 standard template library (stl)
11 exception handling
11.1 fundamentals of exception handling
11.2 using try-throw-catch
11.2.1 throwing and handling an exception
11.2.2 exception specifications
11.3 handling memory allocation errors
11.4 exceptions and classes
12 file i/o
12.1 steps in file i/o processing
12.1.1 creating a file object
12.1.2 opening a file
12.1.3 using a file
12.1.4 closing a file
12.2 sequential files
12.3 random-access files
appendix a c++ keywords and synonyms
appendix b c++ operators
appendix c standard c++ library
appendix d standard c++ algorithms
appendix e answers to odd-numbered questions
1.1 differences between c and c++
1.1.1 the c++ standard and compilers
1.1.2 c++ comments
1.1.3 header files
1.1.4 data types
1.1.5 resolving scope and variable declarations
1.1.6 constants
1.2 c++ input/output
1.2.1 c++ i/o methods
1.2.2 c++ formatting
1.3 namespaces
2 c++ function enhancements
2.1 c++ prototyping
2.2 inline functions
2.2.1 using c macros
2.2.2 using inline functions
2.3 default arguments
2.4 function overloading
2.5 function templates
.3 pointers, references, and dynamic memopy allocation
3.1 c++ pointers
3.1.1 reviewing the fundamentals of pointers
3.1.2 differences between c and c++ pointers
3.2 references
3.2.1 references as independent variables
3.2.2 passing references to functions
3.2.3 returning references by functions
3.3 using references and pointers with constants
3.4 dynamic memory allocation
3.4.1 static versus dynamic memory allocation
3.4.2 dynamic arrays
3.5 case study: lottery random number generator
4 classes and objects
4.1 procedural versus object-oriented programming
4.2 c++ structures versus c structures
4.3 classes
4.3.1 accessing class members
4.3.2 member functions
4.3.3 allocating objects at run-time
4.4 constructor and destructor functions
4.4.1 constructors
4.4.2 the class destructor
4.5 case study: data encryption
5 classes: advanced topics
5.1 passing to and returning objects from functions
5.2 copy constructor
5.3 friend functions and classes
5.3.1 friend functions
5.3.2 friend classes
5.4 static members
5.4.1 static data members
5.4.2 static member functions
5.5 the this pointer
5.6 constant member functions
6 operator overloading
6.1 fundamentals of operator overloading
6.2 operator functions
6.3 overloading binary operators
6.4 overloading unary operators
6.5 overloading the stream operators
6.6 case study: ac current calculator
7 inheritance
7.1 fundamentals of inheritance
7.2 the protected access specifier
7.3 constructing and destroying derived classes
7.4 multiple inheritance
7.4.1 direct multiple inheritance
7.4.2 indirect multiple inheritance
7.5 dominating and overriding baseclass members
8 composition
8.1 composition versus inheritance
8.2 using composition
8.3 constructing and destroying composed classes
8.4 combining inheritance and composition
8.5 case study: computer system configurator
9 polymorphism and virtual functions
9.1 dynamic versus static binding
9.2 virtual functions
9.3 abstract base classes
9.4 virtual destructors
9.5 using polymorphism
9.6 case study: logic circuit calculator
10 templates
10.1 class templates
10.1.1 template parameters
10.1.2 member functions of class templates
10.1.3 using friends and static members with class templates
10.1.4 using the void pointer
10.2 templates and inheritance
10.3 containers and iterators
10.3.1 sequence containers
10.3.2 associative containers
10.3.3 iterators
10.4 standard template library (stl)
11 exception handling
11.1 fundamentals of exception handling
11.2 using try-throw-catch
11.2.1 throwing and handling an exception
11.2.2 exception specifications
11.3 handling memory allocation errors
11.4 exceptions and classes
12 file i/o
12.1 steps in file i/o processing
12.1.1 creating a file object
12.1.2 opening a file
12.1.3 using a file
12.1.4 closing a file
12.2 sequential files
12.3 random-access files
appendix a c++ keywords and synonyms
appendix b c++ operators
appendix c standard c++ library
appendix d standard c++ algorithms
appendix e answers to odd-numbered questions
Object-oriented programming : using C++ for engineering and technology = 面向对象编程 : 工程和技...
- 名称
- 类型
- 大小
光盘服务联系方式: 020-38250260 客服QQ:4006604884
云图客服:
用户发送的提问,这种方式就需要有位在线客服来回答用户的问题,这种 就属于对话式的,问题是这种提问是否需要用户登录才能提问
Video Player
×
Audio Player
×
pdf Player
×