V
...vagrahb
I am having accessing individual rows from a multidimensional array
pass to a function as reference
CODE:
function Declaration
int Part_Buffer(char (*buffer)[_MAX_SIZE],int Low, int High)
Function call
pivot = Part_Buffer(buffer,0, high);
when I do a print of buffer[0] it prints all the contents of the
buffer but not the first row element.
How do I access the individual elements from each row in that buffer.
I need to pass the buffer as a reference as I need to do a quicksort
on the elements in the buffer
Could anyone let me know how I could do this.
Thanks.
pass to a function as reference
CODE:
function Declaration
int Part_Buffer(char (*buffer)[_MAX_SIZE],int Low, int High)
Function call
pivot = Part_Buffer(buffer,0, high);
when I do a print of buffer[0] it prints all the contents of the
buffer but not the first row element.
How do I access the individual elements from each row in that buffer.
I need to pass the buffer as a reference as I need to do a quicksort
on the elements in the buffer
Could anyone let me know how I could do this.
Thanks.