Back to Browse

C++ STL algorithm - counting (count, count_if)| Modern Cpp Series Ep. 148

1.2K views
Sep 15, 2023
16:55

►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 ►Lesson Description: In this lesson I show you how to do more counting with count and count_if. I'll show you a more pragmatic example where you might want to do something beyond counting an occurrence of some value. By supplying a predicate you can count properties of particular objects who have some property (e.g. in a game, how many enemies still have health left) for example. ►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

360pmp431.9 MB

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

C++ STL algorithm - counting (count, count_if)| Modern Cpp Series Ep. 148 | NatokHD