Solved

Order - descending

Posted on 2003-11-16
4
495 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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…

744 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now