![]() |
|
#1
|
|||
|
|||
Verify that a binary tree is a binary search treeI am having trouble with the program I am working on for class. I am trying to verify that a binary tree is a binary search tree using an array implementation, however I am having a problem with the recursion with the function isBST. The code is listed below:
CPP / C++ / C Code:
The error I'm getting is: function does not take 1 arguments. The error is pointing to the last return statement. Last edited by mterry1 : 07-Apr-2009 at 19:15.
Reason: Please insert your C++ code between [cpp] & [/cpp] tags
|
|||
|
#2
|
|||
|
|||
Re: Need Help!!! trouble verifying a binary treeQuote:
Look inside the parentheses. Then look (yes, look), at the error message again. The argument of the function as you have written it is CPP / C++ / C Code:
Maybe you intended: CPP / C++ / C Code:
or, equivalently: CPP / C++ / C Code:
Dave |
Recent GIDBlog
Accepted for Ph.D. program by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Link List In C | Peter_APIIT | C Programming Language | 33 | 12-Jun-2008 14:33 |
| Please Help. I have 3 Qns regarding AVL tree in data structure , Kindly give answer | syamsankar | C++ Forum | 1 | 30-Mar-2007 09:29 |
| can anyone help me with my tree :) | bioeng_mtm | C++ Forum | 5 | 22-Apr-2006 13:50 |
| Binary Search Tree in C++ | rpg3 | C++ Forum | 5 | 02-Apr-2006 10:53 |
| Binary Tree Trouble | neufunk | C Programming Language | 4 | 06-Dec-2004 10:52 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The