470,815 Members | 1,341 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,815 developers. It's quick & easy.

Template files and compiling them

I have 3 files: .template file, .cpp main file, and .h file. The
..template file is where the template class definitions are defined; the
..cpp file is were the main implementation is defineded (I have included
the .h directive at the top of this file); and the .h file is where the
template class is defined (after the declaration I included the
..template directive, just before #endif ). I compiled the .cpp main
file, as usual, but Visual C++ give me a huge number of errors??

Apr 9 '06 #1
1 1503
ur***********@hotmail.com wrote:
I have 3 files: .template file, .cpp main file, and .h file. The
.template file is where the template class definitions are defined;
the .cpp file is were the main implementation is defineded (I have
included the .h directive at the top of this file); and the .h file
is where the template class is defined (after the declaration I
included the .template directive, just before #endif ). I compiled
the .cpp main file, as usual, but Visual C++ give me a huge number of
errors??


Please read the FAQ before posting again. All questions are answered
there. You can find the FAQ here:
http://www.parashift.com/c++-faq-lite/

V
--
Please remove capital As from my address when replying by mail
Apr 9 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Michael | last post: by
3 posts views Thread by Winston Smith | last post: by
4 posts views Thread by Thomi Richards | last post: by
3 posts views Thread by Trapulo | last post: by
45 posts views Thread by charles.lobo | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.