Hey Mike! A video that I think would be a helpful extension to this one would be working with binary file data. Especially when it comes to outputting the binary data, as a string, to stdout. I've noticed that working with streams and binary data gets a bit more convoluted due to the file stream objects in STL only being able to read data as a char type instead of unsigned char or uint8_t. Never the less, the actual bits of each byte don't change but the interpretation of a byte can be tricky.
@@MikeShah Excellent! I'm looking forward to it. Also, do you have a book recommendation for topics about how to construct/design/architect object oriented code from ideas? I feel like I have a pretty good idea of the C++ language, thanks to your videos, but I stuggle on how to construct my ideas for a program into manageable & sensible object oriented code and program flow.
@@robertstrickland9722 I like the API Design in C++ book. These free books might also have some good insights: aosabook.org/en/index.html . Probably the other place to look are c++ conference talks -- there are usually some good post-mortems describing architecture overall of software.
Hey Mike, cool video. Many thanks. I got a quick question.If I wanna use the 62, so the second row how do I have to code this? Is it like chunk[1] or something different? I'd be happy if you could help me. Many thanks.
While you read in the 'chunks' from each line, instead of writing them out to stdout, store them in a vector, and then access with chunk[1] as you have suggested. 🙂
how to write a parser and emitter for yaml would it be a hard task? btw, i know there is an existing library but i just want to improve my cpp skill. Thanks🎉
When using sstream, how the program knows the separate values are with spaces? A function like split is not better, because of one of the arguments will be the specifical separator? Thank you!
Probably not for this series, but you've actually got the tools you need with stringstream and getline. e.g. std::getline(your_string_stream, chunk, ',');
The quick start series I have here is good for starting. I'd recommend 'C++ Game Programming' for someone who has programming experience, it's a little older (not as much new C++11 and beyond), but it explains the language and programming well. Otherwise, Bjarne's 'tour of C++' is another nice quickstart guide. As for series, my C++ Series(ru-vid.com/group/PLvv0ScY6vfd8j-tlhYVPYgiIyXduu6m-L) is going through most of the common parts of the language. Jason Turner's C++ Weekly is a good series to follow online as well. CPPCON 'Back to Basics' track also useful if you're trying to learn a specific topic.