cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Arrey
Arrey
Dec 4, 2013 at 7:44pm UTC
Chubby
(140)
Can anyone give me an example of return the index of the max value?
I understand the return method and I also got the max for this problem. I dont get how to do index of the max value.
I dont need user input!
Dec 4, 2013 at 7:55pm UTC
keskiverto
(10402)
http://www.cplusplus.com/reference/algorithm/max_element/
(Iterators, indices ... close enough to adapt.)
Topic archived. No new replies allowed.