这是来自Qtdocumentation的引述:Someresourcesneedtochangebasedontheuser'slocale,suchastranslationfilesoricons.Thisisdonebyaddingalangattributetotheqresourcetag,specifyingasuitablelocalestring.Forexample:cut.jpgcut_fr.jpgIftheuser'slocaleisFrench(i.e.,QLocale::system().name()returns"fr_FR"),:/cut.jpgbecom
所以我正在制作国际象棋游戏,但是我无法让象棋正确移动。这是我的棋盘:stringboard[8][8]={{"_","_","_","_","_","_","_","_"},{"_","_","_","_","_","_","_","_"},{"_","_","_","_","_","B","_","_"},{"_","_","_","_","_","_","_","_"},{"_","_","_","_","_","_","_","_"},{"_","_","_","_","_","_","_","_"},{"_","_","_","_","_","_","_","_"},{"_",