Search:

Type: Posts; User: algatt

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    3,224

    Yes I have to arrange the swap function, actually...

    Yes I have to arrange the swap function, actually I have to re-visit the whole code to optimise it. I think it actually crashes in the swap section because last time I commented the last part and it...
  2. Replies
    3
    Views
    3,224

    Problems with Quicksort and Pointers

    So, here's what's my program is supposed to be doing in a nutshell:

    > First it opens a file, and each time a set of 4 numbers is read (4 numbers representing points of a rectangle) and stored...
  3. Replies
    5
    Views
    6,223

    Once again, I looked at my program and followed...

    Once again, I looked at my program and followed your suggestions. Attached file is the updated one.

    Now, I have included all the points, and the first set are sorted in ascending order, and the...
  4. Replies
    5
    Views
    6,223

    Thanks

    First of all thanks, that was very informative and insightful. Now, I managed to arrange the program a little bit. It's not optimised but at least it is working. I am attaching it for anyone who...
  5. Replies
    5
    Views
    6,223

    Double Linked List Sorting

    Hello, I am doing a double linked list that is loaded with points of a rectangle xmin, ymin, xmax, ymax. Now after all the points are loaded, I want to sort on each dimension but leave the sequence...
  6. Replies
    1
    Views
    1,331

    Simulating Templates or Classes in C

    Hello,

    I am trying to convert a PR-Tree algorithm from C++ to C (if anyone knows of a ready-made C one I'll be very grateful). However, this algorithm has a lot of templates and classes, is there...
Results 1 to 6 of 6