Explicit Template InstantiationOk I got it. Sorry. Here is what I had to finally do: [code]template <int N> class vector { p...
Explicit Template InstantiationI have tried it. Here is what I did: [code]template <int N> class vector { public: double b...
Explicit Template InstantiationPlease refer the article: http://www.cplusplus.com/forum/articles/14272/ I am using the method de...
Protected static members - Linker errorThanks for asking me to check it. I think it works. Here is the main() function: [code]int main...
Protected static members - Linker errorne555, I guess you'll have to say: [code]double hydro::mass = 1;[/code] Btw, I like your metho...