yea, that was what i had before. this is my whole .cpp .
i get a few errors with this:
\BinaryTree.cpp(32) : error C2955: 'TreeNode' : use of class template requires template argument list
...
Type: Posts; User: Cipher
yea, that was what i had before. this is my whole .cpp .
i get a few errors with this:
\BinaryTree.cpp(32) : error C2955: 'TreeNode' : use of class template requires template argument list
...
i'm trying to construct binary trees and BST's with templates.
is that a bad idea? I'm getting template erros when compiling
and i can not figure it out. please let me know what is wrong with...