prelude expalins it better than myself. Although if you compiled it as C++ you would need to cast it. try taking out this replace the first call to malloc with this and compile itQuote:
Originally Posted by BobS0327
Code:nBinaryTreeNode *CreateBTNode (char *SBinaryTreeData)
{
nBinaryTreeNode *nTempNode = malloc (sizeof (nBinaryTreeNode));
Thats all the compiler, it doesn't like being lied to. :DQuote:
Thanx for keeping me honest.