www.digitalmars.com         C & C++   DMDScript  

c++ - sort algorithm

reply "Ahmed ossman" <aso1577 yahoo.com> writes:
Hi all,
I need a code that sort an alphabet list?
for example , list has a, b, c(0), d, c(1) and sorted as a,b,c(0),c(1),d

Best Regards

--
Ahmed Samir Ossman
Computer Engineer
Apr 22 2002
parent Jan Knepper <jan smartsoft.cc> writes:
take a look at 'qsort'
Jan


Ahmed ossman wrote:

 Hi all,
 I need a code that sort an alphabet list?
 for example , list has a, b, c(0), d, c(1) and sorted as a,b,c(0),c(1),d

 Best Regards

 --
 Ahmed Samir Ossman
 Computer Engineer

Apr 22 2002