Search:

Type: Posts; User: zeronero

Search: Search took 0.00 seconds.

  1. Replies
    16
    Views
    2,528

    No it doesn't have to be done before the...

    No it doesn't have to be done before the bucketing and infact seem easier to do before! but how can I do that if i have millions of structs as struct obj arrayname[3000000] just seg faults when I run...
  2. Replies
    16
    Views
    2,528

    Hi you are right, I am doing it this way so I can...

    Hi you are right, I am doing it this way so I can search the structure quickly once it is all ordered.
  3. Replies
    16
    Views
    2,528

    Hi Quzah, Thanks for the response. Your code...

    Hi Quzah,

    Thanks for the response. Your code does not do any sorting though, I am already at the stage where I have all the data in the buckets but it is in random order. So I know need to sort...
  4. Replies
    16
    Views
    2,528

    Like at the moment I am trying to get it to work...

    Like at the moment I am trying to get it to work with an array of 3 buckets of 4 objects. I am getting lost in it thought it doesn't seem to be picking the right elements to swap at all!
  5. Replies
    16
    Views
    2,528

    Hi Yes I would like all 3000000 structs in order.

    Hi Yes I would like all 3000000 structs in order.
  6. Replies
    16
    Views
    2,528

    Hi, I will read the numbers from a file and load...

    Hi, I will read the numbers from a file and load them all into the structure, they will be in total random order so I want to sort them sequentially so it would become:

    1234 - bucket 1
    5678 -...
  7. Replies
    16
    Views
    2,528

    Quicksort help!

    Hi all,

    I have written a quicksort algo that works fine on a array of ints. My problem however is that I will be sorting a few millions structs based on its int member.

    My task has to split...
Results 1 to 7 of 7