Thanks for pointing that out. :)
Type: Posts; User: croman
Thanks for pointing that out. :)
Thanks mate! I just solved the problem! Your ideas helped a lot. :) This is now the new code:
int main(){
char preorder[6]="RASIN";
char inorder[6]="AINRS";
...
thanks for the observations tabstop and CommonTater.
I apologize for my ignorance on this thing. Haha. Thanks for pointing that out. I know exactly the difference between the pointer and the...
Thanks, but I still get the same errors. It must be my algorithm. this is my current buildTree function:
struct Node buildTree(char *preorder, char *inorder){
struct Node newNode;...
Hi to everyone. I'm currently working on a school homework using binary trees. I feel as though I'm almost finished, but I have a problem I couldn't figure out to solve.
Although I have a general...