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
Compare four C++ strings and sort them b
Compare four C++ strings and sort them by length
Nov 4, 2014 at 12:54pm UTC
Dellius
(1)
How do I compare four c++ strings and sort them by length ? I know how to compare 2 strings with the > operator and sort them, but how do I do it with four strings ?
I am totally new and I have no idea what I am doing :-(
Google is more or less useless.
Nov 4, 2014 at 1:17pm UTC
closed account (
48T7M4Gy
)
Find the least longest string out of the 4. Then find the least longest out of the remaining 3 ... etc
Topic archived. No new replies allowed.