Encapsulation and Access Rights for C++- Part 2, Lesson 2

This section explains C++'s encapsulation features, construction and deconstruction, shallow copy and deep copy, etc.

4374 people study

senior 17 class hours Updated 2020/05/03

 QR code Download the school APP Cache video for offline viewing

 Zhu Youpeng
    • Best selling package
    • Selected Package
    • Popularity package
    • Exclusive package
    • High salary package
C language development engineer professional learning package
C Language Programming Basic Video Course (7-Day Success)
262606 people study
¥49.00
C Language Course Sublimation Chapter - Typing Games (7-Day Butterfly)
22506 people study
¥29.00
Linux Basics Tutorial
29170 people study
¥5.00
More 45 courses
C/C++Cross platform R&D Fundamentals Introduction and Practical Series
C++Design Pattern Theory and Practice
95630 people study
¥198.00
C++QT5 Cross platform Interface Programming Principle and Practical Video Course
288296 people study
¥268.00
FFmpeg Android streaming media player development practical video course - based on NDK, C++and FFmpeg Android
157913 people study
¥298.00
More 23 courses
C++cross platform development engineers from skill mastery to project practice courses
C++11 14 17 20 Multi thread from principle to thread pool practice
28549 people study
¥199.00
Libevent C ++ high concurrency network programming
70885 people study
¥298.00
[Xia Caojun] C++programming FFMpegSDK beauty live streaming practice - based on qt5, opencv video course
102360 people study
¥198.00
More 14 courses
C++Cross platform Practice Series
C++QT5 Cross platform Interface Programming Principle and Practical Video Course
288296 people study
¥268.00
[Xia Caojun] C++socket network programming complete practical http server (supporting php) video course
91760 people study
¥128.00
[Xia Caojun] C++programming FFMpegSDK beauty live streaming practice - based on qt5, opencv video course
102360 people study
¥198.00
More 9 courses
C++Cross platform Practice Series
C++QT5 Cross platform Interface Programming Principle and Practical Video Course
288296 people study
¥268.00
[Xia Caojun] C++socket network programming complete practical http server (supporting php) video course
91760 people study
¥128.00
[Xia Caojun] C++programming FFMpegSDK beauty live streaming practice - based on qt5, opencv video course
102360 people study
¥198.00
More 9 courses
  • Course Introduction
  • Course outline

Suitable for:

This course is not a zero foundation, and is suitable for students with C language foundation, especially those who have learned the Core Course of Embedded Linux, "C Language Special Lecture".

You will learn:

This section explains C++'s encapsulation features, construction and deconstruction, shallow copy and deep copy, etc.

Course introduction:

Learning C++from Teacher Zhu is a part of the series of courses Hot Programming Languages by Teacher Zhu Youpeng, which is mainly for the complete learning of C++language. This course can be seen as a continuation of the course "Special Lecture on C Language" in the core course of embedded linux. After learning C language, we will continue to learn C++language in depth. The whole course is divided into five parts. It covers a wide range of contents such as C++basic syntax and usage, object-oriented, STL and generics, Boost library and design patterns, C++programming optimization skills, etc. It is a series of learning courses that are very scarce in the market to learn C++in depth and cultivate programming skills and self-cultivation. The whole course is expected to be recorded before the end of 2020, with a total duration of 150-200 hours.

Teacher Zhu C++Opening Part - C and C++

Teacher Zhu C++Part 2 - C++and Object Oriented

Teacher Zhu C++Part 3 - high-level topics such as STL

Teacher Zhu C++Part 4 - Boost Library and Design Pattern

Teacher Zhu C++Part 5 - C++Programming Optimization



Course features

*Zero foundation can be learned to lower the learning threshold.

*Easy to understand. Not afraid to learn, but afraid that you will not learn.

*Clear thinking, funny language, and will not sleep when watching the video······

*Videos+documents+exercises+Q&A to ensure the quality of learning in many ways.

*The teaching method of basic knowledge+train of thought guidance is to teach students how to fish more than to teach them how to fish.

*Series of courses. This tutorial is just an introduction, and there will be more exciting video updates in the future.


Expand more

Course outline- Encapsulation and Access Rights for C++- Part 2, Lesson 2

  • one

    2.2.1. Typical C++object-oriented programming1 This section uses a typical case to demonstrate the process of typical C++programming, class declaration, implementation, invocation and other processes.

    Click "Only for paying users" to download "Coursewares_2.2. C++encapsulation and access permissions. txt"

    [24:25]
  • two

    2.2.2. Typical C++object-oriented programming2 This section continues the previous section's case demonstration adjustment, adding functions, and explaining the whole process in detail.

    Click "Only for paying users" to download "Coursewares_2.2. C++encapsulation and access permissions. txt"

    [26:54]
  • three

    2.2.3. C++constructor and destructor This section introduces the concept of constructor and destructor to let you know what they are used for.

    Click "Only for paying users" to download "Coursewares_2.2. C++encapsulation and access permissions. txt"

    [31:57]
  • four

    2.2.4. Using dynamic memory in constructors and destructors 1 This section explains how to dynamically allocate memory in the constructor, and then release and recycle in the destructor.

    Click "Only for paying users" to download "Coursewares_2.2. C++encapsulation and access permissions. txt"

    [25:36]
  • five

    2.2.5. Using dynamic memory in constructors and destructors 2 This section follows the routine in the previous section to explain how to dynamically allocate memory in the constructor, and then release and recycle in the destructor.

    Click "Only for paying users" to download "Coursewares_2.2. C++encapsulation and access permissions. txt"

    [26:23]
  • six

    2.2.6. Initialization of constructors and class members 1 This section explains how to initialize member variables of a class in the constructor.

    Click "Only for paying users" to download "Coursewares_2.2. C++encapsulation and access permissions. txt"

    [21:05]
  • seven

    2.2.7. Constructor and Class Member Initialization 2 This section continues to explain the members of the initialization class in the constructor, especially when the default value of the parameter is introduced.

    Click "Only for paying users" to download "Coursewares_2.2. C++encapsulation and access permissions. txt"

    [22:49]
  • eight

    2.2.8. Introduction of Copy Constructor 1 This section introduces the copy constructor, and details that different methods when defining objects will lead to different constructors being actually called.

    Click "Only for paying users" to download "Coursewares_2.2. C++encapsulation and access permissions. txt"

    [17:36]
  • nine

    2.2.9. Introduction of Copy Constructor 2 This section continues to explain the copy constructor, and let you thoroughly understand the copy constructor through cases.

    Click "Only for paying users" to download "Coursewares_2.2. C++encapsulation and access permissions. txt"

    [17:44]
  • ten

    2.2.10. Light copy and deep copy This section introduces the concepts of shallow copy and deep copy, and focuses on how to use deep copy to solve the implementation of copy constructor when dynamic memory allocation is available.

    Click "Only for paying users" to download "Coursewares_2.2. C++encapsulation and access permissions. txt"

    [32:11]
  • eleven

    2.2.11. What is the access permission problem This section introduces the access permission problem, and verifies the access permission in four cases of public and private with examples.

    Click "Only for paying users" to download "Coursewares_2.2. C++encapsulation and access permissions. txt"

    [25:24]
  • twelve

    2.2.12. Why should C++design access permissions This section analyzes why C++introduced access permission design. In fact, it allows people to understand the meaning of access permission from the demand side.

    Click "Only for paying users" to download "Coursewares_2.2. C++encapsulation and access permissions. txt"

    [20:16]
  • thirteen

    2.2.13. Some new programming concepts brought by access rights This section expands and explains the new programming concept under the thinking of access rights, focusing on read-only and write only variables, as well as the architecture design idea.

    Click "Only for paying users" to download "Coursewares_2.2. C++encapsulation and access permissions. txt"

    [27:56]
  • fourteen

    2.2.14. Difference between struct and class This section explains the difference between struct and class, so that we can completely transition from struct to C++object-oriented class.

    Click "Only for paying users" to download "Coursewares_2.2. C++encapsulation and access permissions. txt"

    [28:40]
  • fifteen

    2.2.15. What are const and mutable 1 This section focuses on the principle and process of C++using const to implement constant functions. Through cases, we can understand the benefits of this design.

    Click "Only for paying users" to download "Coursewares_2.2. C++encapsulation and access permissions. txt"

    [26:56]
  • sixteen

    2.2.16. What are const and mutable 2 This section introduces mutable so that you can thoroughly understand the principle and usage of const constant function and mutable hole drilling operation.

    Click "Only for paying users" to download "Coursewares_2.2. C++encapsulation and access permissions. txt"

    [23:18]
  • seventeen

    2.2.17. Close out and summary This section concludes with two knowledge points: pre declaration of class and inline member function, and gives a summary and review of the whole course.

    Click "Only for paying users" to download "Coursewares_2.2. C++encapsulation and access permissions. txt"

    [28:19]
on-line
customer service
APP
download

Download Android client

Download iPhone client

official
WeChat

Follow official WeChat

return
Top