I'm having trouble getting started with my nonrecursive traversal. I need to implement a stack that holds pointers rather than int's and I am lost. Here is what I'm using as my node structure:
[code]
struct TNode {
int datum;
TNode* leftPtr;
TNode* rightPtr;
}; // TNode
// ===========
/code]
Any nudge in the right direction would be appreciated.