c++ - Invalid use of template-name 'BigNumber' without an argument list -


hi keep having error message part "bignumber b1,b2,res;" @ button, can any1 me out please, here code. tried adding class, none of them worked, know t might simple alot of guys here,but starting c++, still trying hang of it, please help, many thanks.

    template <class t>      class bignumber {       public:       bignumber();       ~bignumber();     };      template <class t>     bignumber<t>::bignumber(){         front = null;         current = null;     }      template <class t>     bignumber<t>::~bignumber(){     }       bignumber b1,b2,res;  } 

bignumber template class. so, have provide arguments substitute template parameters.

bignumber<int> b1; 

here int template argument replace template parameter t.


Comments

Popular posts from this blog

java - Unable to make sub reports with Jasper -

scala - play framework: Modules were resolved with conflicting cross-version suffixes -

Passing Variables from AngelScript to C++ -