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
- Taille
- 3.8 MB
- Langue
- EN
- Trường
- Đại học Bách khoa Hà Nội
- Vues
- 0
- Commentaires
- 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.
Foire aux questions
Ce document est-il gratuit ?
Oui. « 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 » est gratuit — il suffit de vous connecter et de cliquer sur Télécharger pour obtenir le fichier original.
Combien de pages compte ce document ?
Le document contient 152 pages, pour le cours Kỹ thuật lập trình trong Cơ điện tử. Vous pouvez le prévisualiser en ligne avant de le télécharger.
Puis-je prévisualiser avant de télécharger ?
Oui. Vous pouvez prévisualiser ce document directement sur cette page avec le lecteur en ligne, puis décider de le télécharger ou non.
- Nom du document
- 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
- École / Cours
- Đại học Bách khoa Hà Nội · Kỹ thuật lập trình trong Cơ điện tử
- Contenu
- 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 des matières
- Chapter III. Object-oriented programming in C++
- Introduction to the object-oriented world
- Classes and objects
- Inheritance (derivation)
- Polymorphism
- Class templates
- Pages
- 152 pages
- Téléversé par
- Uni24h
Génération de l'aperçu...
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
Génération de l'aperçu...
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:
Lire le document entier
- Nom du document
- 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
- École / Cours
- Đại học Bách khoa Hà Nội · Kỹ thuật lập trình trong Cơ điện tử
- Contenu
- 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 des matières
- Chapter III. Object-oriented programming in C++
- Introduction to the object-oriented world
- Classes and objects
- Inheritance (derivation)
- Polymorphism
- Class templates
- Pages
- 152 pages
- Téléversé par
- Uni24h
Commentaires (0)
Aucun commentaire pour le moment. Soyez le premier !
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
Commentaires (0)
Aucun commentaire pour le moment. Soyez le premier !