URGENTLY NEED HELP

  • 19 years ago

    I NEED HELP FOR MY FINAL IN CLASS........... WE MADE LIST BOXES WITH INFO FILLED IN FROM A TEXTFILE:  1ST ONE IS NAME AND NEXT ONE IS FEE THAT THE PERSON CHARGES.....NOW WE HAVE TO SORT UP TO FOUR PEOPLE BY FEE WHEN YOU CLICK A SORT BUTTON..DOES ANYONE HAVE ANY IDEA WHAT i'M TRYING TO SAY?????

  • 19 years ago

    If you want to Email me I will try to better understand your query.


    I am not an expert, but I think I can help you.


    [email protected]

  • 19 years ago

    Here's a quicksort algorithm.  I have one I made at home that is much better, but this one will get you started on your way.  This one is used for an array or integers.  It is easily modified to be used with other types of data, however.  Here's the key, though.  You need to modify the sort so that it sorts both dimensions of your array.  (Since your array will look like this: vArray(4,1), you can just stick in hard code for sorting the other dimension, but I recommend doing it right and making it general enough so you can use the algorithm again even if your array is like vArray(100,10)).  Anyway, sorry I couldn't give you the exact code for sorting it, but at least this way you'll learn something.  =]  http://www.26thcentury.com/~buc/Info/Soft-prg/lang/vb/code/conf-example-code.txt

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Anyone who considers arithmetic methods of producing random digits is, of course, in a state of sin.” - John von Neumann