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
- Pages
- 152
- Format
- PPTX
- Size
- 3.8 MB
- Language
- EN
- Trường
- Đại học Bách khoa Hà Nội
- Views
- 0
- Comments
- 0
- Lượt tải
- 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.
Frequently asked questions
Is this document free?
Yes. “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” is free — just sign in and click Download to get the original file.
How many pages is this document?
The document has 152 pages, for the course Kỹ thuật lập trình trong Cơ điện tử. You can preview it online before downloading.
Can I preview before downloading?
Yes. You can preview this document right on this page with the online reader, then decide whether to download.
- Document name
- 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
- School / Course
- Đại học Bách khoa Hà Nội · Kỹ thuật lập trình trong Cơ điện tử
- Content
- 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.
- Table of contents
- Chapter III. Object-oriented programming in C++
- Introduction to the object-oriented world
- Classes and objects
- Inheritance (derivation)
- Polymorphism
- Class templates
- Pages
- 152 pages
- Uploaded by
- Uni24h
Generating preview...
Description
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
Generating preview...
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:
Read full document
- Document name
- 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
- School / Course
- Đại học Bách khoa Hà Nội · Kỹ thuật lập trình trong Cơ điện tử
- Content
- 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.
- Table of contents
- Chapter III. Object-oriented programming in C++
- Introduction to the object-oriented world
- Classes and objects
- Inheritance (derivation)
- Polymorphism
- Class templates
- Pages
- 152 pages
- Uploaded by
- Uni24h
Comments (0)
No comments yet. Be the first!
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
Comments (0)
No comments yet. Be the first!