- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
《面向对象程序设计2》教学大纲
一、课程基本信息
课程名称
面向对象程序设计
Object-Oriented Programming
课程编码
OSI123121030
开课院部
海洋与空间信息学院
课程团队
(未设置)
学分
3.0
课内学时
58
讲授
28
实验
0
上机
30
实践
0
课外学时
0
适用专业
地理信息科学
授课语言
中文
先修课程
程序设计(C)
课程简介
(限选)
该课程是地理信息科学专业的一门专业限选课,详细阐述面向对象系统的基本理论与面向对象程序设计语言的基本知识,使学生能够掌握C++面向对象编程语言,为后续相关课程的开发奠定基础。
主要教学内容如下:
1、C++语言对C语言的扩展:C++输入\输出流、数据类型、常变量与指针、引用传递等。
2、类与对象:类定义与类成员的实现、构造函数与析构函数的作用及使用、对象的创建、赋值和复制以及对象的动态创建与释放、友元类与友元函数以及静态成员的定义与使用。
3、类的继承与派生:派生类的定义与构成、单继承与多继承的实现与类的组合、不同继承方式对类成员访问权限的影响。
4、多态性与虚函数:编译时与运行时多态性、虚函数、纯虚函数与抽象类和运算符重载。
5、模板与异常处理:函数模板与类模板、STL中常用的容器与迭代器和C++异常处理机制。
6、输入与输出:C++输入/输出流库、预定义类型数据的输入和输出、格式控制和文件的输入和输出
课程基本要求如下:
1、熟练掌握C++语言的基础知识;
2、掌握面向对象编程的基本思想,深入理解面向对象编程的基本概念和方法;
3、熟练地使用C++语言进行面向对象的程序设计和代码编写过程中的调试方法。
This course is an elective course for geography information science major, which elaborates the basic theory of object-oriented system and the basic knowledge of object-oriented programming language. Through learning the course, students should master the main knowledge of C++, which lays the foundation for the design and development of the other subject.
Main teaching contents are as follows:
1 C++ language extension: C++ input \ output stream, data type, constant variable and pointer, reference transfer, etc.
2 Classes and objects, the class definition and the realization of the members of the class, the constructor and destructor function and use, create, assignment and replication, as well as the object of dynamically create and release, friend class and function as well as the definition and use of static members.
3 Inheritance and derivation of classes: the definition and composition of derived classes, the combination of single inheritance and multiple inheritance, and the influence of different inheritance modes on the access rights of class members.
4 Polymorphism and virtual function: compile with runtime polymorphism, virtual function, pure virtual function and abstract class and operator overloading.
5 Templates and exception handling: function templates with
原创力文档


文档评论(0)