Thread
:
Bubble sorting a list
View Single Post
#
2
(
permalink
)
06-13-2007, 11:47 AM
WingedPanther
Join Date: Jul 2006
Age: 35
Posts: 3,277
Last Blog:
wxWidgets is NOT code ...
Rep Power:
36
You would need a nested for loop that repeatedly goes through all the elements. If you are using C++, you are better off using the built in sorting routines for container classes.
__________________
CodeCall Blog
|
CodeCall Wiki
|
Shareware
|
Linux Forum
Programming is a branch of mathematics.
WingedPanther
View Public Profile
Send a private message to WingedPanther
Find all posts by WingedPanther