How to accumulate using a Lambda function in C++?

前端 未结 0 967
[愿得一人]
[愿得一人] 2021-01-05 19:58

I\'m trying to accumulate the numbers in a vector using a multiplication lambda.

What is my error? I get 1 as the result, instead of 24 (= 123*4). My approac

相关标签:
回答
  • 消灭零回复
提交回复
热议问题