C has no references, so you'd use a pointer to a pointer. The concept of using a pointer to an object to modify the object can be applied recursively, and the "object" you need to modify can be a pointer.
I think you have answered your own question very well ;) any more doubts if you have, that are welcomed. thanks if i am helpful to you. :-)
Will @samohitvii Will you elaborate more what exactly you were trying to do ? From this post of yours, I am unable to intrepret what exactly you trying to ask as you have answered your own question.
@waltP it's not i am here to increase my posts up. I will not get dollars for that. I am just giving my view in this. I am just adding something here which is my opinion. If you think it is NOT acceptable, then it's okay! thanks if i was helpful in this thread.
I don't really understand why people think I answered my own question. An answer I am looking for is something along the lines of
void readBinaryTree(BinaryTree* &p, ifstream *fin)
void readBinaryTree(BinaryTree* *p, FILE* fin)
void readBinaryTree(BinaryTree**, FILE*)
and then used in the program
//Open filestream and create a bianry tree
That's my guess at how you would do it in C but can someone clarify this. I don't really think I need to post the rest of the program.
I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...
Hi. I have a form with list box : lst_product, datagridview : grd_order and button: btn_addline. lst_product has a list of product ids selected from database (MS Acess 2013) , grd_order is by default empty except for 2 headers and btn_addline adds rows to grd_order.