Please Check this to find answer : http://stackoverflow.com/questions/495021/why-can-templates-only-be-implemented-in-the-header-file
Also i came across a topic from DrDobbs. http://www.drdobbs.com/moving-templates-out-of-header-files/184403420?pgno=1
How does compiler work internally to make sure constant object can access only constant member function ?
I need a code in c++, it should have methods or overloaded operators for operations such as 1. Insertion 2. Deletion 3. Display