Chapter III. Object-oriented programming in C++ (Chapter III) (Chương III. Lập trình hướng đối tượng trong C++) - Trương Công Tuấn
- 页数
- 152
- 格式
- PPTX
- 大小
- 3.8 MB
- 语言
- EN
- Trường
- Đại học Bách khoa Hà Nội
- 浏览量
- 0
- 评论
- 0
- 下载次数
- 0
Tài liệu trình bày về lập trình hướng đối tượng trong C++, bao gồm các khái niệm như lớp, đối tượng, kế thừa, đa hình và các nguyên lý cơ bản của OOP như đóng gói, che giấu dữ liệu.
常见问题
此文档免费吗?
是的。“Chapter III. Object-oriented programming in C++ (Chapter III) (Chương III. Lập trình hướng đối tượng trong C++) - Trương Công Tuấn”是免费的 — 只需登录并点击“下载”即可获取原始文件。
这份文档有多少页?
该文档共有 152 页,适用于课程 Kỹ thuật lập trình trong Cơ điện tử。您可以在下载前进行在线预览。
我可以在下载前预览吗?
是的。您可以通过在线阅读器直接在本页面预览此文档,然后再决定是否下载。
- 文档名称
- Chapter III. Object-oriented programming in C++ (Chapter III) (Chương III. Lập trình hướng đối tượng trong C++) - Trương Công Tuấn
- 学校 / 课程
- Đại học Bách khoa Hà Nội · Kỹ thuật lập trình trong Cơ điện tử
- 内容
- Tài liệu này cung cấp kiến thức nền tảng về lập trình hướng đối tượng (OOP) trong C++, tập trung vào các khái niệm cốt lõi như lớp, đối tượng, kế thừa, đa hình và đóng gói. Nó giải thích các nguyên tắc cơ bản và minh họa cách chúng hoạt động.
- 目录
- Chapter III. Object-oriented programming in C++
- Introduction to the object-oriented world
- Classes and objects
- Inheritance (derivation)
- Polymorphism
- Class templates
- 页数
- 152 页
- 上传者
- Uni24h
正在生成预览...
描述
TRƯỜNG ĐẠI HỌC BÁCH KHOA HÀ NỘI KỸ THUẬT LẬP TRÌNH HỆ CƠ ĐIỆN TỬ Programming Engineering in Mechatronics Giảng viên: TS. Trương Công Tuấn Đơn vị: Bộ môn Cơ điện tử, Viện Cơ khí 1 Chapter III. Object-oriented programming in C++ Introduction to the object-oriented world Classes and objects Inheritance (derivation) Polymorphism Class templates 2 Chapter III. Object-oriented programming in C++ Introduction to the object-oriented world Classes and objects Inheritance (derivation) Polymorphism Class templates 3 Introduction to the object-oriented world Basics Basic principles An object-oriented example code 4 Introduction to the object-oriented world Basics Class A class determines the abstract features of a thing (object), including its features (attributes, fields, properties) and its behaviour (what the thing can do, methods, operations and functions). We can say that a class is a scheme describing the nature of something: the class Truck has to contain the common properties of trucks (manufacturer, engine, brake system, maximum load etc.), as well as their specific behaviour, like braking, turning to left etc. Both the integrated properties and the methods of a class are called class members (data member and member function in C++). 5 Introduction to the object-oriented world Basics Object An object is a scheme (an example) of a class: the class Truck has the feature brake system, but the brake system of the object myCar can be an electronicallycontrolled one (EBS) or a simple air brake. Instance The notion of instance (of a class) is synonymous with the notion of object. Instance means an actual object created at runtime: myCar is an instance of the class Truck. The set of the property values of the actual object is called the state of that object. 6 Introduction to the object-oriented world Basics Method Methods are responsible for the capabilities of objects: the methods of myCar:
Chapter III. Object-oriented programming in C++ (Chapter III) (Chương III. Lập trình hướng đối tượng trong C++) - Trương Công Tuấn
正在生成预览...
TRƯỜNG ĐẠI HỌC BÁCH KHOA HÀ NỘI KỸ THUẬT LẬP TRÌNH HỆ CƠ ĐIỆN TỬ Programming Engineering in Mechatronics Giảng viên: TS. Trương Công Tuấn Đơn vị: Bộ môn Cơ điện tử, Viện Cơ khí 1 Chapter III. Object-oriented programming in C++ Introduction to the object-oriented world Classes and objects Inheritance (derivation) Polymorphism Class templates 2 Chapter III. Object-oriented programming in C++ Introduction to the object-oriented world Classes and objects Inheritance (derivation) Polymorphism Class templates 3 Introduction to the object-oriented world Basics Basic principles An object-oriented example code 4 Introduction to the object-oriented world Basics Class A class determines the abstract features of a thing (object), including its features (attributes, fields, properties) and its behaviour (what the thing can do, methods, operations and functions). We can say that a class is a scheme describing the nature of something: the class Truck has to contain the common properties of trucks (manufacturer, engine, brake system, maximum load etc.), as well as their specific behaviour, like braking, turning to left etc. Both the integrated properties and the methods of a class are called class members (data member and member function in C++). 5 Introduction to the object-oriented world Basics Object An object is a scheme (an example) of a class: the class Truck has the feature brake system, but the brake system of the object myCar can be an electronicallycontrolled one (EBS) or a simple air brake. Instance The notion of instance (of a class) is synonymous with the notion of object. Instance means an actual object created at runtime: myCar is an instance of the class Truck. The set of the property values of the actual object is called the state of that object. 6 Introduction to the object-oriented world Basics Method Methods are responsible for the capabilities of objects: the methods of myCar:
阅读全文
- 文档名称
- Chapter III. Object-oriented programming in C++ (Chapter III) (Chương III. Lập trình hướng đối tượng trong C++) - Trương Công Tuấn
- 学校 / 课程
- Đại học Bách khoa Hà Nội · Kỹ thuật lập trình trong Cơ điện tử
- 内容
- Tài liệu này cung cấp kiến thức nền tảng về lập trình hướng đối tượng (OOP) trong C++, tập trung vào các khái niệm cốt lõi như lớp, đối tượng, kế thừa, đa hình và đóng gói. Nó giải thích các nguyên tắc cơ bản và minh họa cách chúng hoạt động.
- 目录
- Chapter III. Object-oriented programming in C++
- Introduction to the object-oriented world
- Classes and objects
- Inheritance (derivation)
- Polymorphism
- Class templates
- 页数
- 152 页
- 上传者
- Uni24h
评论 (0)
暂无评论。快来抢沙发吧!
Kỹ thuật lập trình hệ cơ điện tử (Chapter 3) - Trương Công Tuấn
CHƯƠNG 13. C++ nâng cao (CHƯƠNG 13) - Trương Công Tuấn
Kỹ thuật lập trình hệ cơ điện tử (9) - Trương Công Tuấn
Chapter 0 Introduction TCT (Chapter 0) - Trương Công Tuấn
Chapter 11 ME 3300 Ky thuat lap trinh He co dien tu Chuong trinh cu (11) - Trương Công Tuấn
Chương 7.Cơ học lượng tử - Vật lý đại cương 3 - TS.Nguyễn Thị Trang
Chương 6.Quang học lượng tử - Vật lý đại cương 3 - TS.Nguyễn Thị Trang
Chương 5.Thuyết tương đối - Vật lý đại cương 3 - TS.Nguyễn Thị Trang
Chương 4. Tán xạ ánh sáng - Vật lý đại cương 3 - TS.Nguyễn Thị Trang
Chương 3.Phân cực ánh sáng - Vật lý đại cương 3 - TS.Nguyễn Thị Trang
评论 (0)
暂无评论。快来抢沙发吧!