Object Oriented ProgrammingObject-Oriented Programming Key Ideas Class Inheritance Polymorphism Early and Late Binding Virtuality override final Template method Destructor Interfaces Liskov substitution principle return type Duck Typing Traps Virtual in con- /destructor Slicing ShadowingObject-Oriented Programming Key Ideas Class Inheritance Polymorphism Early and Late Binding Virtuality override final outside world. Information hiding Separation from interface and implementationObject-Oriented Programming Key Ideas Class Inheritance Polymorphism Early and Late Binding Virtuality override final0 码力 | 38 页 | 752.99 KB | 6 月前3
Back to Basics: Generic Programming1 David Olsen – Generic Programming CppCon 20242 David Olsen – Generic Programming CppCon 2024 Back to Basics: Generic Programming David Olsen, Compiler Engineer, NVIDIA CppCon, 18 Sep 20243 David Olsen – Generic Programming CppCon 2024 Generic Programming4 David Olsen – Generic Programming CppCon 2024 Generic Programming5 David Olsen – Generic Programming CppCon 2024 Generic Programming Same code code works on different, unrelated types6 David Olsen – Generic Programming CppCon 2024 Generic Programming Same code works on different, unrelated types T sum(C container) { T result = 0; for (T value0 码力 | 175 页 | 1.16 MB | 6 月前3
Branchless Programming in C++Branchless Programming in C++ Fedor G Pikus Chief ScientistBranchless Computing 3 PLAN ● Efficiency and performance ● Understanding the hardware and using it efficiently – Computing resources of0 码力 | 61 页 | 9.08 MB | 6 月前3
Back to Basics: Object-Oriented ProgrammingAndreas Fertig Write unique code! Back to Basics Object-Oriented Programming Presentation Material CppCon, Aurora CO, 2024-09-20© 2024 Andreas Fertig AndreasFertig.com All rights reserved All programs https://AndreasFertig.com post@AndreasFertig.com 5A class ■ C++ adds classes for object-oriented programming. ■ The constructors B are called when the object is cre- ated. ■ Data fields of classes should0 码力 | 20 页 | 1.04 MB | 6 月前3
Back To Basics: Functional Programming in C++What is functional programming? Jonathan Müller — @foonathan Back to Basics: Functional Programming in C++ CppCon 2024-09-19 1Imperative Programming Definition Specify instructions that manipulate state achieve a goal. Jonathan Müller — @foonathan Back to Basics: Functional Programming in C++ CppCon 2024-09-19 2Imperative Programming Definition Specify instructions that manipulate state in order to achieve goal. C and C++ Jonathan Müller — @foonathan Back to Basics: Functional Programming in C++ CppCon 2024-09-19 2Imperative Programming Definition Specify instructions that manipulate state in order to achieve0 码力 | 178 页 | 918.67 KB | 6 月前3
Template-Less Meta-Programming0 码力 | 130 页 | 5.79 MB | 6 月前3
Oracle VM VirtualBox 4.1.40 Programming Guide and ReferenceOracle VM VirtualBox R ⃝ Programming Guide and Reference Version 4.1.40 c⃝ 2004-2015 Oracle Corporation http://www.virtualbox.org Contents 1 Introduction 16 1.1 Modularity: the building blocks of VirtualBox 25 2.2.2 Raw web service example for Perl . . . . . . . . . . . . . . . . . . . . . 26 2.2.3 Programming considerations for the raw web service . . . . . . . . . . 27 2.3 Using COM/XPCOM directly . . control VirtualBox programmatically. We chose the name “Main API” to differentiate it from other programming interfaces of VirtualBox that may be publicly accessible. With the Main API, you can create, configure0 码力 | 306 页 | 1.92 MB | 6 月前3
Oracle VM VirtualBox 5.2.40 Programming Guide and ReferenceOracle VM VirtualBox R ⃝ Programming Guide and Reference Version 5.2.40 c⃝ 2004-2020 Oracle Corporation http://www.virtualbox.org Contents 1 Introduction 21 1.1 Modularity: the building blocks of VirtualBox 30 2.2.2 Raw web service example for Perl . . . . . . . . . . . . . . . . . . . . . 31 2.2.3 Programming considerations for the raw web service . . . . . . . . . . 32 2.3 Using COM/XPCOM directly . . control VirtualBox programmatically. We chose the name “Main API” to differentiate it from other programming interfaces of VirtualBox that may be publicly accessible. With the Main API, you can create, configure0 码力 | 422 页 | 2.45 MB | 6 月前3
Oracle VM VirtualBox 5.2.12 Programming Guide and ReferenceOracle VM VirtualBox R ⃝ Programming Guide and Reference Version 5.2.12 c⃝ 2004-2018 Oracle Corporation http://www.virtualbox.org Contents 1 Introduction 21 1.1 Modularity: the building blocks of VirtualBox 30 2.2.2 Raw web service example for Perl . . . . . . . . . . . . . . . . . . . . . 31 2.2.3 Programming considerations for the raw web service . . . . . . . . . . 32 2.3 Using COM/XPCOM directly . . control VirtualBox programmatically. We chose the name “Main API” to differentiate it from other programming interfaces of VirtualBox that may be publicly accessible. With the Main API, you can create, configure0 码力 | 421 页 | 2.43 MB | 6 月前3
Oracle VM VirtualBox 4.3.36 Programming Guide and ReferenceOracle VM VirtualBox R ⃝ Programming Guide and Reference Version 4.3.36 c⃝ 2004-2016 Oracle Corporation http://www.virtualbox.org Contents 1 Introduction 19 1.1 Modularity: the building blocks of VirtualBox 28 2.2.2 Raw web service example for Perl . . . . . . . . . . . . . . . . . . . . . 29 2.2.3 Programming considerations for the raw web service . . . . . . . . . . 30 2.3 Using COM/XPCOM directly . . control VirtualBox programmatically. We chose the name “Main API” to differentiate it from other programming interfaces of VirtualBox that may be publicly accessible. With the Main API, you can create, configure0 码力 | 376 页 | 1.99 MB | 6 月前3
共 278 条
- 1
- 2
- 3
- 4
- 5
- 6
- 28













