> > >Jeg bruger Visual C++.
> >
> > Hvilken version og er den mon rigtigt installeret ?
>
> 6.0 og den har virket fint ind til videre.
Ja jeg må beklageligvis også sige at jeg ligeledes får 15 fejlmeddelelser.
Det drejer sig om understøttelsen af string. Jeg er netop nu ved at
undersøge hvad der er galt.
Jeg bruger VC++ 6.0 med SP5, fejlene er vedhæftet.
mvh
JS
E:\Program Files\Microsoft Visual Studio\MyProjects\jaja\jaja.cpp(8) : error
C2784: 'class std::reverse_iterator<_RI,_Ty,_Rt,_Pt,_D> __cdecl
std:
erator +(_D,const class std::reverse_iterator<_RI,_Ty,_Rt,_Pt,_D> &)'
: could not deduce template arg
ument for '' from 'class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >'
E:\Program Files\Microsoft Visual Studio\MyProjects\jaja\jaja.cpp(8) : error
C2676: binary '+' : 'class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >' does not define this
operator or a conversion to a type accept
able to the predefined operator
E:\Program Files\Microsoft Visual Studio\MyProjects\jaja\jaja.cpp(9) : error
C2784: 'bool __cdecl std:
erator ==(const class std::allocator<_Ty>
&,const class std::allocator<_U> &)' : could not deduce template argument
for 'const class std::alloca
tor<_Ty> &' from 'class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >'
E:\Program Files\Microsoft Visual Studio\MyProjects\jaja\jaja.cpp(9) : error
C2784: 'bool __cdecl std:
erator ==(const class
std::istreambuf_iterator<_E,_Tr> &,const class
std::istreambuf_iterator<_E,_Tr> &)' : could not deduce template argument f
or 'const class std::istreambuf_iterator<_E,_Tr> &' from 'class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >'
E:\Program Files\Microsoft Visual Studio\MyProjects\jaja\jaja.cpp(9) : error
C2784: 'bool __cdecl std:
erator ==(const class
std::reverse_iterator<_RI,_Ty,_Rt,_Pt,_D> &,const class
std::reverse_iterator<_RI,_Ty,_Rt,_Pt,_D> &)' : could not deduce t
emplate argument for 'const class std::reverse_iterator<_RI,_Ty,_Rt,_Pt,_D>
&' from 'class std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >'
E:\Program Files\Microsoft Visual Studio\MyProjects\jaja\jaja.cpp(9) : error
C2784: 'bool __cdecl std:
erator ==(const struct std::pair<_T1,_T2>
&,const struct std::pair<_T1,_T2> &)' : could not deduce template argument
for 'const struct std::pair
<_T1,_T2> &' from 'class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >'
E:\Program Files\Microsoft Visual Studio\MyProjects\jaja\jaja.cpp(9) : error
C2676: binary '==' : 'class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >' does not define this
operator or a conversion to a type accep
table to the predefined operator
E:\Program Files\Microsoft Visual Studio\MyProjects\jaja\jaja.cpp(10) :
error C2784: 'bool __cdecl std:
erator ==(const class std::allocator<_Ty>
&,const class std::allocator<_U> &)' : could not deduce template argument
for 'const class std::alloc
ator<_Ty> &' from 'class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >'
E:\Program Files\Microsoft Visual Studio\MyProjects\jaja\jaja.cpp(10) :
error C2784: 'bool __cdecl std:
erator ==(const class
std::istreambuf_iterator<_E,_Tr> &,const class
std::istreambuf_iterator<_E,_Tr> &)' : could not deduce template argument
for 'const class std::istreambuf_iterator<_E,_Tr> &' from 'class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >'
E:\Program Files\Microsoft Visual Studio\MyProjects\jaja\jaja.cpp(10) :
error C2784: 'bool __cdecl std:
erator ==(const class
std::reverse_iterator<_RI,_Ty,_Rt,_Pt,_D> &,const class
std::reverse_iterator<_RI,_Ty,_Rt,_Pt,_D> &)' : could not deduce
template argument for 'const class std::reverse_iterator<_RI,_Ty,_Rt,_Pt,_D>
&' from 'class std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >'
E:\Program Files\Microsoft Visual Studio\MyProjects\jaja\jaja.cpp(10) :
error C2784: 'bool __cdecl std:
erator ==(const struct std::pair<_T1,_T2>
&,const struct std::pair<_T1,_T2> &)' : could not deduce template argument
for 'const struct std::pai
r<_T1,_T2> &' from 'class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >'
E:\Program Files\Microsoft Visual Studio\MyProjects\jaja\jaja.cpp(10) :
error C2676: binary '==' : 'class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >' does not define this
operator or a conversion to a type acce
ptable to the predefined operator
E:\Program Files\Microsoft Visual Studio\MyProjects\jaja\jaja.cpp(11) :
error C2784: 'class std::reverse_iterator<_RI,_Ty,_Rt,_Pt,_D> __cdecl
std:
erator +(_D,const class std::reverse_iterator<_RI,_Ty,_Rt,_Pt,_D> &)'
: could not deduce template ar
gument for '' from 'class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >'
E:\Program Files\Microsoft Visual Studio\MyProjects\jaja\jaja.cpp(11) :
error C2676: binary '+' : 'class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >' does not define this
operator or a conversion to a type accep
table to the predefined operator
E:\Program Files\Microsoft Visual Studio\MyProjects\jaja\jaja.cpp(11) :
error C2228: left of '.substr' must have class/struct/union type
Error executing cl.exe.
jaja.exe - 15 error(s), 0 warning(s)