Search:

Type: Posts; User: nick4

Search: Search took 0.01 seconds.

  1. Replies
    11
    Views
    3,679

    cheers for that mate but it still gives me this...

    cheers for that mate but it still gives me this error:

    'quick_sort' : cannot convert parameter 1 from 'struct ipair *' to 'float *'
  2. Replies
    11
    Views
    3,679

    cheers mate that makes sense. when i am trying to...

    cheers mate that makes sense. when i am trying to call my quick sort from my main program do i put:
    mytable.quick_sort(ptable, ub,lb);
    i want to sort the table in order of the "other" values
  3. Replies
    11
    Views
    3,679

    My main problem is when i try to write or read...

    My main problem is when i try to write or read from the ptable eg.

    others = ptable[i].other;
    gives error
    subscript requires array or pointer type
    left of '.other' must have class/struct/union...
  4. Replies
    11
    Views
    3,679

    if i put in one of the above how would it be...

    if i put in one of the above how would it be possible to write in the key value from another function?

    say in add to table..
  5. Replies
    11
    Views
    3,679

    i have alterd the class but how do i get table of...

    i have alterd the class but how do i get table of pairs to be public so i can access it from main and still be in table of pairs



    class table_of_pairs {
    int table_size;
    ipair *ptable;
    int...
  6. Replies
    11
    Views
    3,679

    cheers for the help bud

    cheers for the help bud
  7. Replies
    11
    Views
    3,679

    Help On A Quick Sort Program

    Hello, i am writing a program for my data structures corse that sorts some numbers read in from a text file using quick sort. As you might tell i am new to programming (so go easy on the jargon)

    I...
Results 1 to 7 of 7