OOP(C )_第2章_C 初探创建和使用对象(最终版).pptxVIP

  • 1
  • 0
  • 约2.21千字
  • 约 21页
  • 2017-06-08 发布于重庆
  • 举报

OOP(C )_第2章_C 初探创建和使用对象(最终版).pptx

OOP(C )_第2章_C 初探创建和使用对象(最终版)

第二章 C++初探:创建和使用对象; This chapter explains key differences between C and C++, and takes you through three essential C++ features: Type safety (类型安全性) Classes (类:抽象、封装、多态性等) Templates (模板) Also covered are IOStreams and the free store operators new and delete.;2.1 概述(cont.);2.2 C++的历史 ;2.3 对C子集的某些改进 ;Abstract (抽象) Encapsulation (封装) Access Control(Public,Private,Protected) Friends(友元):允许友元破坏封装性 Inheritance (继承) Virtual Function (多态性) Later Binding (晚绑定) Overloading (重载) -- 允许函数名和运算符重载 Template (模板);2.5 C++的输入输出

文档评论(0)

1亿VIP精品文档

相关文档