M
Mike
Hi
I've compiled this on Linux:
string vlstr = str+"sounds/rain.wav"; //str is a string as well
but with VC2008 I get:
-----
error C2784: 'std:: _String_iterator <_Elem,_Traits,_Alloc> std::
operator + (_String_iterator <_Elem,_Traits,_Alloc>::
difference_type , std:: _String_iterator <_Elem,_Traits,_Alloc>) ":
template argument for 'std:: _String_iterator <_Elem,_Traits,_Alloc>"
could not be derived from' const char [16].
I've compiled this on Linux:
string vlstr = str+"sounds/rain.wav"; //str is a string as well
but with VC2008 I get:
-----
error C2784: 'std:: _String_iterator <_Elem,_Traits,_Alloc> std::
operator + (_String_iterator <_Elem,_Traits,_Alloc>::
difference_type , std:: _String_iterator <_Elem,_Traits,_Alloc>) ":
template argument for 'std:: _String_iterator <_Elem,_Traits,_Alloc>"
could not be derived from' const char [16].