This is a really newbie question but I couldn't find it answered anywhere. I'm new to all of this programming stuff and I'm trying to switch away from Dev C++.
I want to compile a static library consisting of a template class. To maintain separate compilation, in DevC I would have a header file and a *.template file. The header file would have an #include directive at the bottom to include the template file.
How do I do this in CodeBlocks? What file extension should I be using for my implementation file? I thought that instead of separate compilation, I could just put everything in the header file. But when I do that I get
"Linking stage skipped (build target has no object files to link)
Nothing to be done."
Can anybody direct me as to how to setup my CodeBlocks project to accomplish what I'm trying to do?