Menu

Problem compiling using a template

2002-10-30
2012-09-26
  • Nobody/Anonymous

    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. 

     
    • Nobody/Anonymous

      I need help with syntax to define a template class and friend template class within the parent class.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.