No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
[CODE=C++] //bintree.h template<class T> class bintree { private: bin_node<T> *root; public: bintree(void); void insert(const T); void insert(const T, bin_node<T>*); }; //bintree.cpp #include "bintree.h" template<typename T> void bintree<T>::insert(const T input) { insert(input, root); } //tstatcontain is a non-template class-class class tstatcontain { private: string tname; int wins, loses, games, champ, years_playing, … |
|
I'm working on a homework/project to tokenize a set of operands (double) and operators as inputs. It's been going well enough and I have been able to finish it by implementing my own tokenizer but when I tested my output exe with digits greater than 7 I get a random … |