Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C++ > Accessing Indiv...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 45769 of 45898
Post > Topic >>

Accessing Individual rows from a multidimensional array passed to a

by "...vagrahb" <bhargav.bs@[EMAIL PROTECTED] > May 6, 2008 at 02:15 AM

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.




 3 Posts in Topic:
Accessing Individual rows from a multidimensional array passed t
"...vagrahb" &l  2008-05-06 02:15:50 
Re: Accessing Individual rows from a multidimensional array pass
Vidar Hasfjord <vattil  2008-05-06 10:44:52 
Re: Accessing Individual rows from a multidimensional array pass
"Victor Bazarov"  2008-05-06 10:33:57 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu May 15 0:33:03 CDT 2008.