278 - cpp 指针管理类对象示例
C++ 指针管理类对象示例🧑💻 UserIn this lecture, we’re going to see how we can manage our class objects through pointers.And in most cases, we need to manage o ...
280 - 构造与析构顺序 倒序析构
构造与析构顺序 倒序析构🧑💻 UserIn this lecture, I want you to raise your awareness on the order in which constructors and destructorsare called.Suppose we have ...
279 - cpp析构函数:对象销毁时的内存释放
C++析构函数:对象销毁时的内存释放🧑💻 UserIn this lecture, we’re going to learn about the structures.The structures are spatial functions or methods in a class that ...
282 - cpp结构体与类的区别和用法
C++结构体与类的区别和用法🧑💻 UserIn this lecture we’re going to learn about the struct keyword, and this is another syntax you can useto create classes in your ...
283 - cpp 类对象大小探究
C++ 类对象大小探究🧑💻 UserIn this lecture, we’re going to learn about sizes of class objects and try to think about it.What are we going to see if we try t ...
286 - const 对象问题与指针引用访问
Const 对象问题与指针引用访问🧑💻 UserIn this lecture, we’re going to learn about cost objects.Suppose you have a class like this.The class is called Dog, and we ...
293 - cpp 结构化绑定语法讲解
C++ 结构化绑定语法讲解🧑💻 UserIn this lecture we’re going to learn about structured bindings, and structured bindings are a technique.We have to access membe ...
296 - 构造函数默认参数
构造函数默认参数🧑💻 UserIn this lecture, we’re going to see that we can pass default parameters to event constructors.Here is the class we have been using a ...
287 - const 对象作为函数参数的注意事项
Const 对象作为函数参数的注意事项🧑💻 UserIn this lecture.We’re going to see what’s going to happen if you try and use a const object as a function argument.We’re ...
299 - 显式构造函数
显式构造函数🧑💻 UserIn this lecture, we’re going to learn about explicit constructors.And to really drive the point home, we’re going to look at a simple ...