2022年面向对象程序设计教学大纲 .docx

上传人:H****o 文档编号:79944990 上传时间:2023-03-22 格式:DOCX 页数:10 大小:55.01KB
返回 下载 相关 举报
2022年面向对象程序设计教学大纲 .docx_第1页
第1页 / 共10页
2022年面向对象程序设计教学大纲 .docx_第2页
第2页 / 共10页
点击查看更多>>
资源描述

《2022年面向对象程序设计教学大纲 .docx》由会员分享,可在线阅读,更多相关《2022年面向对象程序设计教学大纲 .docx(10页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。

1、精品_精品资料_面对对象程序设计( C+) 双语课程教案大纲课程编号: 03874制定单位:信息治理学院执笔人:杨巨成审 核 人:方志军修订时间: 2022 年 8 月 30 日江西财经高校教务处可编辑资料 - - - 欢迎下载精品_精品资料_面对对象程序设计( C+ ) 双语课程教案大纲一、课程总述可编辑资料 - - - 欢迎下载精品_精品资料_课程名称面对对象程序设计(C+) 双语课程代码03874可编辑资料 - - - 欢迎下载精品_精品资料_课程性质专业必修课先修课程C 语言总学时数64(含上机 32 学时)周学时数4(2+2)开课院系信息治理学院任课老师面对对象程序设计(C+ )课程

2、组编写人杨巨成编写时间2022 年 8 月课程负责人方志军大纲主审人方志军使用教材Bjarne StroustrupThe C+ Programming LanguageSpecial Edition Higher Education Press ( 2022 年 7 月出版)(1) 裘宗燕译 C+程序设计(特殊版)机械工业出版社2022年 7 月出版(2) 裘宗燕译 C+语言的设计与演化机械工业出版社2022 年 1可编辑资料 - - - 欢迎下载精品_精品资料_教案参考资料课程教案目的课程教案要求月出版 3 钱能主编 C+程序设计教程清华高校出版社2022 年 9 月出版4 刘宗田译 C+

3、编程思想(第 2 版)机械工业出版社 2022 年 9 月出版 5 郑莉主编 C+语言程序设计 清华高校出版社2022 年 12 月出版The objective of this course is to help the student grasp the basic idea,knowledgeandtechniqueoftheobjectoriented programmingOOP language. After learning the course, the student can solve the practical problems appearedin their work

4、 withthis advanced language and its software technique. The main content of this course is C+ programming language and the kernel characteristics ofthis language are abstract, encapsulation, inheritance, and polymorphism, which can be regarded as the base of the OOP programming.This course is practi

5、cal, which means we should combine the learning and practice. Duringthe course, the conception and the programming technique as well as many typical examples are included. In the experimental course, the student should finish the task assigned to them withthe C+ language they have learned fromthe co

6、urse.Through this way, the student can deeply understand the C+ languageand can master the compiling, linkingand runningprocedures of the language. In a word, many exercises and practicesare very important for the student to learn and understand the language well.可编辑资料 - - - 欢迎下载精品_精品资料_本课程的重点和难点课程考

7、试The emphasesof this course are to help the student grasp the core idea of the OOP language, which includes the above mentioned four aspects. Therefore, chapters about these aspects the most important parts ofthecourse.Thedifficultiesofthiscoursearetheclass designing,inheritance and polymorphism. Th

8、e student willfeel some trouble insolving the practical problem withthe data abstraction mechanisms especially with the pure virtual functions.The final mark of every student includes three parts: experimentalreportstake 20 percent, large scale homework takes 20 percent, and the final examination ta

9、kes 60 percent. The paper examination is closed which consists of full English and the student should answer all the questions with only English.可编辑资料 - - - 欢迎下载精品_精品资料_二、教案时数安排章目一教案内容Overview of the book and OOP教案时数安排课堂讲授试验(上机)22二A tour of C+22三A tour of the standard library22四Functions22五Pointer t

10、o Function, Macros, Namespace22六Classes22七Constructor & Destructor22八Pointers and class supplement22九Operator overloading44十Derived classes44十一Virtual base class22十二virtual functions22十三Templates22十四IO Stream22合计3232可编辑资料 - - - 欢迎下载精品_精品资料_三、单元教案目的、教案重难点和内容设置Chapter 1Overview of the book and OOP【Tea

11、ching Target】After learning this chapter, the student will know the structure of the book, the advice of how to use C+ and some background information about C+. In addition, the student should learn the main characteristics of OOP language. Finally, the student should grasp how to design a C+ progra

12、m in VC+.【Emphases】 Four main characteristics of C+, the difference between C and C+.【Main contents】(1) Contents of this book(2) Material and reference books(3) Main characteristics of OOP(4) Design C+ program in VC+Chapter 2 A tour of C+【Teaching Target】After learning this chapter, the student will

13、 know the history of C+ and what is C+. The student willknow the conventional procedural program and modular program. Then, the student will learn what the data abstraction is in C+ and some examples of how to define class by the OOP language.【Emphases】 What is modular program, how to define data ab

14、straction and its usage.【Main contents】(1) What is C+(2) Procedural programming(3) Modular programming(4) Data abstraction(5) Object-Oriented ProgrammingChapter 3A tour of the standard library【Teaching Target】After learning this chapter, the student will know the principal of standard library and it

15、s main function. When designing the C+ program, the student can use the standard library in the program, which can help to improve the efficiency of the program.可编辑资料 - - - 欢迎下载精品_精品资料_【Emphases】 Grasp some typical standard library functions, such as string, vector, list and map.【Main contents】(1) O

16、utput and input in C+(2) Strings in C+(3) The containers of standard library(4) Algorithms and math of standard library(5) Standard Library FacilitiesChapter 4 Functions【Teaching Target】After learning this chapter,the student will know the declaration and definition of the function, the action scope

17、 of the function and its returning type as well as inline functions and static variables. Finally, the student will know the call of the function, the recursive function as well as the function overloading.【Emphases】 Grasp what is static variables and function overloading and know how to use them.【M

18、ain contents】(1) Function declarations and definitions(2) Inline function(3) Static variables(4) Argument passing in the function(5) Function overloading(6) Default argumentChapter 5 Pointer to Function, Macros, Namespace【Teaching Target】After learning this chapter, the student will know the pointer

19、 to function and its difference to pointer function, the macros and its correct use in the program, as well as the definition and use of namespace.Finally, the student will know how to use declarations and directives for namespace in the program.【Emphases】 Function pointer and namespace.【Main conten

20、ts】(1) Concept of Pointer to Function, and its use in C+(2) Macros in C+可编辑资料 - - - 欢迎下载精品_精品资料_(3) The definition of namespace(4) Using declarations and directives for namespaceChapter 6 Classes【Teaching Target】After learning this chapter, the student will know the role of class and the definition

21、of class. The student will also know what the object is and its difference to class.【Emphases】The difference of public members and private members of a class. The threedifferent access control methods.【Main contents】(1) Characteristics of OOP(2) The definition and declaration of Class(3) Accessing M

22、anners(4) Member of classChapter 7 Constructor & Destructor【Teaching Target】After learning this chapter, the student willknow constructors and destructors ofa class, the combination of class as well as the static members of the class.【Emphases】How to define class with constructors and destructors. U

23、nderstanding the mechanism of class combination and static members.【Main contents】(1) Constructor(2) Copy-constructor(3) Destructor(4) Class combination(5) Static membersChapter 8Pointers and Class Supplement【Teaching Target】After learning this chapter, the student will know the definition and usage

24、 of pointers in C+. The student willalso know how to use pointers for class and object, the mechanism of constant member functions and default constructors as well as multi- objects as members for a class.可编辑资料 - - - 欢迎下载精品_精品资料_【Emphases】The usage of pointers in class for constructors and destructo

25、rs as well as for objects. Understanding the mechanism of class with multi-objects as members in the class.【Main contents】(1) Pointers(2) Pointers in class(3) Objects and Pointers(4) Constant Member Functions(5) Default constructors(6) Multi-Objects as MembersChapter 9Operator overloading【Teaching T

26、arget】This chapter is given to show:1 the characteristics of friend function and how to define and use it. 2 how to define operator overloading functions by member functions and nonmember functions or friend functions. 3 several typical definitions of operator overloading functions. 4 the mechanism

27、of constructing a string class by using operator overloading.【Emphases】The difference of member functions and friend functions. How to define operator loading in case of member functions and nonmember functions. Understanding the definition of a string class by operator overloading.【Main contents】(1

28、) Friend(2) The requirement of operator overloading(3) Operator function(4) How to overload operator(5) Members and friends(6) Conversion operator(7) Overloading for other operators(8) A string classChapter 10Derived classes【Teaching Target】This chapter is given to show:1how to define derived class

29、and its member functions in the situation of single-inherit and multi-inherit .2three typical modes of inherit and their characteristics. 3the mechanism of constructors and destructors in the可编辑资料 - - - 欢迎下载精品_精品资料_derived classes as well as how to avoid ambiguity when using derived classes in the p

30、rogram.【Emphases】The difference of public inherit and public inherit. How to define derived classes with constructors and destructors. Understanding the characteristic of derived class with member object in the case of multi-inherit.【Main contents】(1) Introduction(2) Single-inherit(3) Mode of inheri

31、t(4) Multi-inherit(5) Constructor and Destructor in derived classes(6) Multi-inherit with member objects(7) AmbiguityChapter 11Virtual base class【Teaching Target】This chapter is given to show:how to define virtual base class in the situation of multi- inherit【Emphases】The difference of static bindin

32、g and dynamic binding.【Main contents】(1) Virtual base class(2) Rules of assignment in inheritChapter 12Virtual functions【Teaching Target】This chapter is given to show: 1 the role of virtual functions and their definitions in the base classes and derived classes as well as its characteristics in the

33、c.las2s themechanism of pure virtual functions and how to define abstract class in the program.【Emphases】How to define virtual functions in the derived classes. Understanding the characteristics of pure virtual functions and abstract class in case of multi-inherit.【Main contents】(1) Virtual function

34、s(2) Important notes可编辑资料 - - - 欢迎下载精品_精品资料_(3) Pure virtual functions and Abstract ClassesChapter 13Templates【Teaching Target】After learning this chapter, the student will know the role and definition of templates. The student will grasp the function templates and class templates. Finally, the stud

35、ent will know what generic programming in C+ language is.【Emphases】 The purpose of use of templates, function templates and class templates definitions.【Main contents】(1) Introduction(2) Function Templates(3) Class Templates(4) Class Templates and Non-type Parameters(5) Templates and Inheritance(6)

36、Templates and friends(7) Templates and static MembersChapter 14IO Stream【Teaching Target】In theses two courses, we will learn how to use string and iostream. Especially learn how to access files on hard drive by using iostream and iofstream.【Emphases】 The purpose of use of iostream, how to use iostream and iofstream to access the files on hard drives.【Main contents】(1) Introduction to string(2) The usage of string(3) Introduction to iostream(4) The usage of iofstream(5) Accessing files by using iofstream可编辑资料 - - - 欢迎下载

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 技术资料 > 技术总结

本站为文档C TO C交易模式,本站只提供存储空间、用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。本站仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知淘文阁网,我们立即给予删除!客服QQ:136780468 微信:18945177775 电话:18904686070

工信部备案号:黑ICP备15003705号© 2020-2023 www.taowenge.com 淘文阁