Solved

Order - descending

Posted on 2003-11-16
4
498 Views
Last Modified: 2010-04-01
How do I sort in descending Order(not the sort comand)?
0
Comment
Question by:vmj36
  • 2
  • 2
4 Comments
 
LVL 1

Expert Comment

by:Gratch06
ID: 9760391
More details please.  What are you sorting?  ints, strings?  There are a variety of different sorting methods, some better for small amounts of data, others for large amounts of data.  More info is definitely required before someone can answer your question.
0
 

Author Comment

by:vmj36
ID: 9760431
Im trying to sort integer arrays
0
 
LVL 1

Accepted Solution

by:
Gratch06 earned 50 total points
ID: 9760464
http://www.developerfusion.com/show/3653/9/   <--- Bubble sort, Selection Sort (Merge sort and tag sort are probably not what you want)
http://mathbits.com/MathBits/CompSci/Arrays/Shell.htm  <--- shell sort algorithm

See if either of those give you enough base to get started, and feel free to come back with further questions.
0
 

Author Comment

by:vmj36
ID: 9760513
Thanks :)
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
AVI wait icons for CAnimateCtrl in Visual Studio 2008 MFC 1 150
FMX TCameraComponent Problem 2 82
Issues with C++ Class 19 101
c++, dynamic object by json 1 53
In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question