seeplus wrote: |
---|
that book uses the SFML 3rd party library for multi-media |
I did mention that at the end of my post.
One really cool thing showed up when I tried out the first exercise of the book. Since I use vcpkg to manage 3rd party library installs with Visual Studio 2022, I had installed SFML a while ago, I didn't need add any SFML directories into the project's settings as shown in the book's text. I simply added the required SFML #include and vcpkg silently did all the includes as needed for the project. VS now recognizes any installed 3rd party library as if it were a VS native header, auto-complete drop-down shows the possible headers available, etc.
@Ch1156, I really suggest you look into getting and using vcpkg. It is a library package manager that makes getting and updating 3rd party libraries MUCH easier. You can even integrate the installed packages into VS so you don't have to worry about adding library paths to your project. Updating an already installed library is just a couple of console commands.
https://vcpkg.io/en/index.html
You don't need to have Visual Studio to use vcpkg. If you know how to use cmake you can use the package management features.
If you have any questions about vcpkg please ask. :)
A post I made about why I like and use vcpkg:
https://cplusplus.com/forum/lounge/284973/
Re: updating books.....
One nice feature of leanpub eBooks is once a book is purchased any updates made are free. Updating an eBook is
slightly easier than one destined for a dead-tree edition. Several of my purchased 100% completed eBooks have had updates since my purchase.
leanpub has books for purchase that are still "work in progress", at a decent price depending on how complete the book is.