33: C++ Casting. Turn Your Object Into A Frog. - podcast episode cover

33: C++ Casting. Turn Your Object Into A Frog.

Jan 06, 201612 min
--:--
--:--
Download Metacast podcast app
Listen to this episode in Metacast mobile app
Don't just listen to podcasts. Learn from them with transcripts, summaries, and chapters for every episode. Skim, search, and bookmark insights. Learn more

Episode description

Can you change an int into a float? And because an int occupies multiple bytes in memory, can you get access to the individual bytes by themselves? Or what if you have a derived class and you want to refer to it as if it was a base class? And can you go the other way, from base class to derived class? These are the topics I will be explaining today.
For the best experience, listen in Metacast app for iOS or Android