void SyntaxTree::printPostfix(NimbleSyntax* theNode) { if(theNode != 0) { printPostfix(theNode->getLeft()); printPostfix(theNode->getRight()); print(theNode); } }
int main() { int readConvert(char[]); void printPostfix(char[], int); char post[50]; int n = readConvert(post); printPostfix(post, n); } //end main
void SyntaxTree::printPostfix() { printPostfix(root); }