partial_sum « STL Algorithms Helper « C++ Tutorial






32.16.partial_sum
32.16.1.Use partial_sum to print all partial sums
32.16.2.Use partial_sum to print all partial products
32.16.3.Use partial_sum to convert elements in a container into absolute values