Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 04-20-2005, 03:17 PM   #1 (permalink)
[OCS]Midnight
Registered User
 
Join Date: Jan 2005
Posts: 2
[OCS]Midnight is on a distinguished road
Sorting Arrays

Pretty much I need help sorting an array containing random numerican values. The values should all remain the same and should be sorted from smallest to largest(ascending) in the same array. I've thought and thought and I can't come up with a way to do it. Thx in advance.
[OCS]Midnight is offline   Reply With Quote
Old 04-20-2005, 04:12 PM   #2 (permalink)
Valmont
[code][/code] enforcer
 
Valmont's Avatar
 
Join Date: Mar 2003
Location: Netherlands
Posts: 1,544
Valmont is on a distinguished road
That's ok, you need to start somewhere.
May I advise you to google for bubble sort? Start with that.
__________________
Valmont is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic Arrays, the 'right' way. Mr.Anderson Standard C, C++ 10 10-05-2004 06:00 AM
sorting objects arrays by object properties sde Java 28 08-05-2004 05:51 AM
sorting multi dimensional arrays sde PHP 4 10-01-2003 05:52 PM


All times are GMT -8. The time now is 11:58 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting