Finding elements in arrays or vectors can be quite challenging for beginners. In this post, we use std::find_if to find items in C++ arrays and collections.
Computers, Coding and Caffeine
Modifying previous git commits can be useful. With Git rebase interactive, you can change previous commit messages, merge commits or simply drop git commits.
Including static files in your C++ code can be cumbersome. However, converting any binary file to hexadecimal arrays is easy with the “xxd” terminal command.