Hi Mike, really appreciate your videos and your teaching style. Thanks a ton. It would be great if you could do a playlist about interview questions/prep, that will really allow me to understand trick questions and how to respond during an interview. Thanks again for your time. Regards
Cheers! Currently I have this: th-cam.com/video/MUcIqAqaRtE/w-d-xo.html and this playlist may also have some advice on interviews/job prep: th-cam.com/play/PLvv0ScY6vfd-kxPfRttOVYkyM2xal-x0U.html
I watched tons of Mike's presentation videos on CppCon channel and he has his own? Wow this is great. I also love the the short video format as I often don't have much time for > 1-hour long videos.
Working through the series and learning loads and enjoying it. This however confused me more than it helped. The 'solution' (dynamic cast) work until you changed the initialising type, and then there was so much jumping back and forth between static vs dynamic casts and 'new Derived' vs 'new Base' that it confused me. Anyway, i'll probably just go back and rewatch the casting vids! Keep up the great work!
Upcasting generally safe to go from a derived class to a base class. Downcasting (converting a base to derived) is where we have to be a bit more careful -- type needs to be polymorphic and we need to have instantiated the 'Base' as a Derived type in order to downcast. I may do another video to show more examples if you find useful.
Hi Mike, really appreciate your videos and your teaching style. Thanks a ton. It would be great if you could do a playlist about interview questions/prep, that will really allow me to understand trick questions and how to respond during an interview. Thanks again for your time. Regards
Cheers! Currently I have this: th-cam.com/video/MUcIqAqaRtE/w-d-xo.html and this playlist may also have some advice on interviews/job prep: th-cam.com/play/PLvv0ScY6vfd-kxPfRttOVYkyM2xal-x0U.html
Brilliant job
thank you so much Mike😘
Cheers, you are most welcome!
I watched tons of Mike's presentation videos on CppCon channel and he has his own? Wow this is great. I also love the the short video format as I often don't have much time for > 1-hour long videos.
Cheers! Many more to come, usually they are about 10-15 minutes 🙂
Working through the series and learning loads and enjoying it. This however confused me more than it helped. The 'solution' (dynamic cast) work until you changed the initialising type, and then there was so much jumping back and forth between static vs dynamic casts and 'new Derived' vs 'new Base' that it confused me.
Anyway, i'll probably just go back and rewatch the casting vids!
Keep up the great work!
Question is also: when can we do an upcast? When can we do a downcast?
Upcasting generally safe to go from a derived class to a base class. Downcasting (converting a base to derived) is where we have to be a bit more careful -- type needs to be polymorphic and we need to have instantiated the 'Base' as a Derived type in order to downcast. I may do another video to show more examples if you find useful.
@@MikeShah Always useful; if you find the time to do another video, it would nicely complement the casting mini-series...
Hi Mike
Do you have a video about std::bit_cast ?
Not yet, but it's on the todo list at some point for this playlist :)
Mike can you train me to get an interview?
Check out courses.mshah.io and this free TH-cam channel :) Some specific skill you're looking for otherwise?
The middle of a vid is quite a mess.