C++ ON THE PHONE: C++ STD::ACCUMULATE | 2019
çağatay odabaşı
How to use the accumulate function in numeric header in C++? or How to sum the elements in vector? In this video, I will try to write a small program which uses accumulate function under numeric header to get the summation of the elements. This is a small C++ tutorial or example for beginners. Also, instead of summation, you can do some custom operations with accumulate. In this tutorial, I also show how to do it easily.
C++ vector is extremely important for C++ developers. So the functions that are working on them like accumulate is also highly important and every new C++ developer should learn it.
By the way, I am writing code on my android phone which is Pocophone F1. So, in the beginning, that could be a little bit weird to watch C++ tutorial. :)
I hope you will enjoy!
C++ Playlist: https://www.youtube.com/playlist?list=PLDxlOCk8y6soqz3L0ZlZCd-rWeAviZS0K ... https://www.youtube.com/watch?v=SkaPSAHk6fs
9448376 Bytes