i wrote a program that includes a .h, .template, and .cpp main program. The program compiles and runs fine with unix g++ but i get the error "g++: d:\programs\301\stacks\stack.template: linker input file unused since linking not done" everytime in dev. I'm thinking i need to add some extra commands but i'm not sure what they are. If anybody knows how to help me I would appreciate it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i wrote a program that includes a .h, .template, and .cpp main program. The program compiles and runs fine with unix g++ but i get the error "g++: d:\programs\301\stacks\stack.template: linker input file unused since linking not done" everytime in dev. I'm thinking i need to add some extra commands but i'm not sure what they are. If anybody knows how to help me I would appreciate it.
I need help with syntax to define a template class and friend template class within the parent class.