I was browsing in my old questions and I noticed that long time ago I asked a question about how linking a C++ class using templates. Indeed it seems like if you use templates you can't put the methods in a cpp file otherwise you get linker errors. 

This was the question, but they all intended it like I wasn't able to link a header and got a lot of "get yourself a book" comments. Now this wasn't the case, I was programming for over a year and I already did know how to link files, and also very more advanced things. But I did not know about templates that had to go in the header file. 

The question is here: 

<https://stackoverflow.com/questions/9057072/linking-a-cpp-file-containing-a-class-using-templates>

Now the question is old, but I fell like who reads it is getting it in another way from how I meant it. I would reopen it to self answer it.