"error LNK2019: unresolved external symbol" when using templates

Possible Duplicate: Why do I get “unresolved external symbol” errors when using templates? I am using templates in my code while there is always an error LNK2019. Here is part of m...