Serialize and Deserialize a struct in C++ - Stream-Based I/O part 8 of n- Modern Cpp Series Ep. 198

Описание к видео Serialize and Deserialize a struct in C++ - Stream-Based I/O part 8 of n- Modern Cpp Series Ep. 198

►Full C++ Series Playlist:    • The C++ Programming Language  
►Find full courses on: https://courses.mshah.io/
►Join as Member to Support the channel:    / @mikeshah  

►Lesson Description: In this lesson we continue working with stream-based I/O, but this time we work with a 'struct' such that we read and write out its fields to bytes. In this way, we can read and write out binary data for any object (and effectively 'save' program state). This is just one technique, and perhaps you will look further and use fancy meta-programming techniques to automate this process in case your object layout changes. As always, feel free to bring up any questions and discuss what you've learned!

►YouTube Channel:    / mikeshah  
►Please like and subscribe to help the channel!
►Join our free community: https://courses.mshah.io/communities/...

Комментарии

Информация по комментариям в разработке