why in vs2008 expre?

What can I do to run a esisting program made in tempalet class that do not give to me all this errors, I compile before in g++ and I want to work in windows



1>------ Build started: Project: PROJEC02CAP214, Configuration: Debug Win32 ------
1>Compiling...
1>array.cpp
1>f:\(36) : error C2995: 'Array<DataType>::Array(int)' : function template has already been defined
1> f:\semestreagos2009-2\comp-3075\proyecto2agos09\array.h(24) : see declaration of 'Array<DataType>::Array'
1>f:\semest\comp-3075\proyecto\array.cpp(42) : error C2995: 'Array<DataType>::Array(const Array<DataType> &)' : function template has already been defined
1> f:\semestreagos2009-2\comp\proyect\array.h(25) : see declaration of 'Array<DataType>::Array'
1>f:\semestreagos\comp\proyect\array.cpp(48) : error C2995: 'Array<DataType>::~Array(void)' : function template has already been defined
1> f:\semestreagos2009-2\comp-3075\proyecto2agos09\array.h(26) : see declaration of 'Array<DataType>::~Array'
1>f:\semest\comp\proyect\array.cpp(59) : error C2995: 'Array<DataType> &Array<DataType>::operator =(const Array<DataType> &)' : function template has already been defined
1> f:\semest\comp\proyect\array.h(27) : see declaration of 'Array<DataType>::operator ='
1>f:\semestrea\comp\proyect\array.cpp(71) : error C2995: 'DataType &Array<DataType>::operator [](int)' : function template has already been defined
1> f:\semest\comp\proyect\array.h(28) : see declaration of 'Array<DataType>::operator []'
1>f:\semest\comp\proyect\array.cpp(96) : error C2995: 'void Array<DataType>::changeSize(int)' : function template has already been defined
1> f:\semest\comp\proyect\array.h(29) : see declaration of 'Array<DataType>::changeSize'
1>f:\semest\comp-3075\proyect\array.cpp(102) : error C2995: 'int Array<DataType>::length(void) const' : function template has already been defined
1> f:\semest\comp\proyect\array.h(32) : see declaration of 'Array<DataType>::length'
1>f:\semest\comp\proyect\array.cpp(124) : error C2995: 'std::string Array<DataType>::err(void) const' : function template has already been defined
1> f:\semest\comp\proyect\array.h(33) : see declaration of 'Array<DataType>::err'
1>f:\semest\comp\proyect\array.cpp(134) : error C2995: 'void Array<DataType>::deepCopy(const Array<DataType> &)' : function template has already been defined
1> f:\semest\comp\proyect\array.h(39) : see declaration of 'Array<DataType>::deepCopy'
1>usearray.cpp
1>Generating Code...
1>Build log was saved at "file://f:\Semestre\COMP\PROJEC02CAP214\PROJEC02CAP214\Debug\BuildLog.htm"
1>PROJEC02CAP214 - 9 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
I expect you've defined your functions in a header file and not declared them to be inline, thus spawning multiple instances of them in each compiled unit.
Yes I have some funtion inline, I removed form the header file and still is that erros

>Embedding manifest...
1>.\Debug\PROJEC02CAP214.exe.intermediate.manifest : general error c1010070: Failed to load and parse the manifest. The system cannot find the file specified.
1>Build log was saved at "file://f:\SemestreAgos2009-2\COMP-3075\PROJEC02CAP214\PROJEC02CAP214\Debug\BuildLog.htm"
1>PROJEC02CAP214 - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Have you done a full rebuild?
Topic archived. No new replies allowed.