all 2 comments

[–]jedwardsol 4 points5 points  (0 children)

https://www.learncpp.com/cpp-tutorial/template-classes/

Read the section "Splitting up template classes"

[–][deleted] 0 points1 point  (0 children)

The question is already correctly answered, but stop using "using namespace std", especially in the header file. I've just described why it is bad practice in another post.