cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
Negative integers in a List
Negative integers in a List
Feb 12, 2018 at 12:41am UTC
KB93
(21)
If you wished to write a function to determine how many negative integers are in a list, without using any loops or recursion, which std function template would you employ?
Feb 12, 2018 at 3:22am UTC
mbozzi
(3932)
std::count_if()
.
Last edited on
Feb 12, 2018 at 3:22am UTC
Topic archived. No new replies allowed.