Object Oriented Programming
Object-Oriented Programming Key Ideas Class Inheritance Polymorphism Early and Late Binding Virtuality override final Template method Destructor Interfaces Liskov substitution principle /destructor Slicing ShadowingPolymorphism Polymorphism (poly morphs) is the characteristic of an object to behave differently at run time. Polymorphism ▪ Inheritance is the base of polymorphism ▪ Enables separation of the interface and its implementation is one of the crucial ideas of modern software design.Object-Oriented Programming Key Ideas Class Inheritance Polymorphism Early and Late Binding Virtuality0 码力 | 38 页 | 752.99 KB | 5 月前3Object Lifetime: From Start to Finish
Object Lifetime From Start to Finish Thamara Andrade | https://thamara.dev/34 Me finally understanding why my code was failing… ... and realizing I didn’t really understand the rules for object object lifetime.What is object lifetime anyway? 567You can expect… but not… •Review of object lifetime •(A Little of) RAII •Beyond basic lifetime •Common pitfalls •Value categories •Unions/Arrays •Any Initialization68 { Resource Acquisition Is Initialization Tying resource acquisition and deallocation to object lifetime.69 { struct DynamicArray { explicit DynamicArray(size_t sz) : m_d(new int[sz]) {} ~DynamicArray()0 码力 | 214 页 | 9.34 MB | 5 月前3Back to Basics: Object-Oriented Programming
Andreas 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 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 should be initialized Flush() override { puts("USBC Flush"); } 15 }; 16 17 int main() 18 { 19 A Note, I’m creating a USBC object and store it as IOPort 20 std::unique_ptrport{std::make_unique ()}; 21 22 port−>Flush(); 0 码力 | 20 页 | 1.04 MB | 5 月前3Object Pascal 参考手册(Ver 0.1)
Object Pascal 参考手册 (Ver 0.1) ezdelphi@hotmail.com Overview - 1 - Overview(概述) Using object pascal(使用 object pascal) Object Pascal 是一种高级编译语言,具有强类型(对数据类型的检查非常严格)特性,支持结构化 严格)特性,支持结构化 和面向对象编程。它的优点包括代码的易读性、快速编译,以及支持多个单元文件从而实现模块化编程。 Object Pascal 具有一些特性以支持 Borland 组件框架和 RAD(快速应用程序开发)环境。在很大程 度上,本语言参考的说明和示例假定你使用 Borland 公司的开发工具,如 Delphi 和 Kylix。 绝大多数使用 Borland 开发工具的开发者是在 具在程序的组织上还有一些限制,严格说来,这不是 Object Pascal 语言规范的一部分。比如,Borland 开发工具遵循某些文件和程序的命名约定,若你在 IDE 以外编写代码并使用命令行来编译,你可以避开 这些限制。 这些帮助主题假设你在 IDE 环境下工作,并且使用 VCL(可视化组件库)和/或 CLX(跨平台组件 库)创建应用程序。但有时候,Borland 一些特定的规则和 Object Pascal 的通用规则并不相同。0 码力 | 168 页 | 868.25 KB | 1 年前3Object Introspection: A Revolutionary Memory Profiler for C++ Objects
std::stringObject Introspection (OI) Goals • Byte level memory footprint analysis for objects • Complete object type hierarchies • Dynamic allocations and containers • Optimised, production applications in Generation • Object Introspection as a Library • Object Introspection as a Profiler • Object Introspection Applied Type Reconstruction Object Introspection• (Re)construct an entire object hierarchy Reconstruction • Code Generation • Object Introspection as a Library • Object Introspection as a Profiler • Object Introspection Applied Type Reconstruction Object Introspection Measurement Code0 码力 | 62 页 | 2.24 MB | 5 月前3Java 应用与开发 - 面向对象编程进阶
school; 10 } 11 } 大纲 多态性 方法重载 关键字 static 关键字 final 上述代码为什么会编译出错 在 Java 类的构造方法中一定直接或间接地调用了其父类的构造 方法(Object 类除外)。 1. 在子类的构造方法中可使用 super 语句调用父类的构造方 法,其格式为 super(< 实参列表 >)。 2. 如果子类的构造方法中既没有显式地调用父类构造方法,也 没有使用 ConstructorOverloadSample.java 大纲 多态性 方法重载 关键字 static 关键字 final 上述代码为什么会编译出错 在 Java 类的构造方法中一定直接或间接地调用了其父类的构造 方法(Object 类除外)。 1. 在子类的构造方法中可使用 super 语句调用父类的构造方 法,其格式为 super(< 实参列表 >)。 2. 如果子类的构造方法中既没有显式地调用父类构造方法,也 没有使用 ConstructorOverloadSample.java 大纲 多态性 方法重载 关键字 static 关键字 final 上述代码为什么会编译出错 在 Java 类的构造方法中一定直接或间接地调用了其父类的构造 方法(Object 类除外)。 1. 在子类的构造方法中可使用 super 语句调用父类的构造方 法,其格式为 super(< 实参列表 >)。 2. 如果子类的构造方法中既没有显式地调用父类构造方法,也 没有使用0 码力 | 49 页 | 659.74 KB | 1 年前3Java 应用与开发 - 面向对象编程进阶 PART1
[extends < 父类名 >] { 2 [< 属性声明 >] 3 [< 构造方法声明 >] 4 [< 方法声明 >] 5 } Object 类是所有 Java 类的最高层父类, 如果在类的声明中未使 用 extends 关键字指明其父类,则默认父类为 Object 类。 大纲 包 继承 访问控制 方法重写 关键字 super 关键字 this Java 继承的特性 Java 只支持单继承,不允许多重继承。0 码力 | 39 页 | 614.13 KB | 1 年前3Blender v2.93 Manual
shaders, full OSA, and many (many) more. 2.35 – November 2004: Another version full of improvements: object hooks, curve deforms and curve tapers, particle duplicators and much more. 2.36 – December 2004: API. 2.62 – February 2012: The Carve library was added to improve Boolean operations, support for object tracking was added, the Remesh modifier was added, many improvements in the GE, matrices and vectors improvements, and much more. 2.83 – June 2020: 3D Viewport virtual reality scene inspection, new volume object type, Cycles adaptive sampling, Cycles viewport denoising, sculpting improvements, and much more0 码力 | 3962 页 | 201.40 MB | 1 年前3Blender v2.92 参考手册(繁体中文版)
shaders, full OSA, and many (many) more. 2.35 -- November 2004: Another version full of improvements: object hooks, curve deforms and curve tapers, particle duplicators and much more. 2.36 -- December 2004: 2.62 -- February 2012: The Carve library was added to improve Boolean operations, support for object tracking was added, the Remesh modifier was added, many improvements in the GE, matrices and vectors improvements, and much more. 2.83 -- June 2020: 3D Viewport virtual reality scene inspection, new volume object type, Cycles adaptive sampling, Cycles viewport denoising, sculpting improvements, and much more0 码力 | 3966 页 | 203.00 MB | 1 年前3Blender v2.92 参考手册(繁体中文版)
shaders, full OSA, and many (many) more. 2.35 -- November 2004: Another version full of improvements: object hooks, curve deforms and curve tapers, particle duplicators and much more. 2.36 -- December 2004: 2.62 -- February 2012: The Carve library was added to improve Boolean operations, support for object tracking was added, the Remesh modifier was added, many improvements in the GE, matrices and vectors improvements, and much more. 2.83 -- June 2020: 3D Viewport virtual reality scene inspection, new volume object type, Cycles adaptive sampling, Cycles viewport denoising, sculpting improvements, and much more0 码力 | 3868 页 | 198.83 MB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100