
04/03/2013 0 error C2679: binary '+' : no operator defined which takes a right-hand operand of type 'class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >' (or there is no acceptable conversion) | |
Mots-clés: Microsoft Visual C++ | |
Réponse 1: Ne pas ajouter des string et des CString. Caster la string via en char* via .c_str() | |
Réponse 2: #include <string> au lieu de #include <string.h> ou #include <stdio.h> | |