All pastes #242956 Raw Edit

Anonymous

public text v1 · immutable
·published 2006-11-07 22:08 UTC
rendered paste body
schach.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 << ;