Let's Learn C++ ~ #20 ~ Override


Learn intermediate programming in C++ (Cpp) in this series of tutorials! This 20th lesson focuses on Override, override final, classes, and how they relate to virtual.


➤ Exercises:

➤ Download Visual Studio:


♦ LLC++ #20 ~ Override

♦ LLC++ #19 ~ Abstract, Interface Classes

♦ LLC++ #18 ~ Virtual

♦ LLC++ #17 ~ Polymorphism – Class p4

♦ LLC++ #16 ~ Inheritance – Class p3:

♦ LLC++ #15 ~ Visual Studio Setup + My First Program:


➤ Let’s Learn C++: INTERMEDIATE

➤ Let’s Learn C++: BASICS

➤ Let’s Learn PYTHON: BASICS

➤ Let’s Learn PYTHON: OOP

➤ Let’s Learn PYTHON: Scripting

➤ Secret Projects



Music by Juto:


New Episode (nearly) Every Friday


– Jeremy W.
– Marcus G.
– JK
– Mike J.

☁♡ Keep the Dream Alive! ♡☁

My comments and words are my own and do not represent the views or opinions of my employer in anyway.

Nguồn: https://chototdayroi.com

Xem thêm bài viết khác: https://chototdayroi.com/cong-nghe/


  1. I'm watching this video to help me better understand Unreal Engine's API since I couldn't find great definitions in the documentation. I still don't get how they use it in this case (the only thing I can think of is that it's some sort of safeguard to protect these functions from being modified? I kind of understand that perhaps it would be in the Tick function since it's called every frame, so it would essentially override itself somehow, but as its included in BeginPlay as well, which is only called once, my theory goes out the window). Check it out:

    This is in a header file, I will start from public class declarations to avoid this comment being too lengthy:


    // Sets default values for this Actor's properties

    // Called when the game starts or when spawned
    virtual void BeginPlay() override ;

    // Called every frame
    virtual void Tick( float DeltaSeconds ) override ;

    I REALLY don't understand how/why override is used in this case. Any thoughts?

  2. As far as I know using c++17, you don't need to have the keyword 'override' when using the keyword 'final' as 'final' implies overriding just as 'override' implies virtual. My IDE gives me a message if I have both saying that I do not need both. I absolutely love your videos and I was wondering if you are ever going to make a video on unions?

  3. Hello bro. Thanks for this videos. Please is it possible that you make some videos on Ray Mapping in C++ in the nearest future? Thanks.


Please enter your comment!
Please enter your name here