Anonymous
public text v1 · immutableschach.cpp:195: error: could not convert `((&Figuren_Spieler1) +
48)->std::basic_string<_CharT, _Traits, _Alloc>::operator= [with _CharT =
char, _Traits = std::char_traits<char>, _Alloc =
std::allocator<char>]((&figur_name))' to `bool'
-------------
int gefunden_a;
if(Figuren_Spieler1[1].figurentyp = figur_name){ //figur_name=string;, *.figurentyp = string
gefunden_a = 1;
}else{
gefunden_a = 0;
}
cout << gefunden << ;