Back to Browse

Error Codes Exploration in C++ | Modern Cpp Series Ep. 246

481 views
Mar 25, 2026
34:49

►Full C++ Series Playlist: https://www.youtube.com/playlist?list=PLvv0ScY6vfd8j-tlhYVPYgiIyXduu6m-L ►Find full courses on: https://courses.mshah.io/ ►Join as Member to Support the channel: https://www.youtube.com/channel/UCA64pZbN5Mz5NxC3SO4qpDg/join ►Discussion Forum: https://forum.mshah.io/ ►Lesson Description: In this lesson I do a little bit of live coding and then discuss error codes. There's really a lot of trade-offs in this one, but I thought it may generate some interesting discussion in how to handle error codes. Sometimes it can be useful to return the result of the operation and then store the output in a parameter, or sometimes you can store everything in the return type of operations that may fail. I hope you enjoyed this lesson otherwise -- the main takeaway is that whatever strategy you choose -- be consistent! As always, feel free to bring up any questions and discuss what you've learned! ►YouTube Channel: https://www.youtube.com/c/MikeShah ►Please like and subscribe to help the channel! ►Join our free community: https://courses.mshah.io/communities/Q29tbXVuaXR5LTI3MzAz

Download

1 formats

Video Formats

360pmp439.9 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Error Codes Exploration in C++ | Modern Cpp Series Ep. 246 | NatokHD