Re: [Dev-C++] Function to order elements
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Daniel P. <dan...@st...> - 2005-04-25 22:33:28
|
use bubblesort http://www.devx.com/vb2themax/Tip/18972 it works perfect for smaller arrays Alexsandro Meireles wrote: > Hi, all! > > Does anyone know any function to order elements? > > What I need is to pick up a list of numbers like: 1 232 44 5 5 45 5 45 > 545 and get an ordered list like 1 5 5 5 44 45 45 232 545, i.e., from > the minimum value to the maximum value. > > Thanks in advance! > > -- > Alexsandro Meireles |