Hey there,
I've been wondering the differences between virtual and override keywords in native c++. I know how virtual works, I just don't get override, at least in c++.
Say that a child class inherits a function from its parent class, and that you want to add something specific to it. If parent's class function has virtual before its return type, can we just rewrite the function normally? Without adding override at the end?
The thing is, in C#, I believe it's required to add override at the end of the function(if you want to rewrite it), but in native c++ it doesn't seem that way...even though override keyword exists.
After a little search I found that override keyword was later added, in an update but I don't know its use, since it isn't required when "overriding" a procedure/function
Would someone explain that to me? Thanks