Search:
Forum
General C++ Programming
2nd largest
2nd largest
Oct 12, 2009 at 2:04pm UTC
shona16
(1)
Can some1 plz tell me d statement 4 2nd largest no. In a given list
Oct 12, 2009 at 2:20pm UTC
Bazzy
(6281)
http://www.cplusplus.com/articles/how_to_ask/
You can sort the list and then get the second largest:
http://www.cplusplus.com/reference/algorithm/sort/
http://www.cplusplus.com/reference/stl/list/sort/
Topic archived. No new replies allowed.
C++
Information
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs