Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
だから私はすべての _ をスペースに変更する簡単なコードを手に入れましたが...うまくいきません! Any1は理由を知っていますか?何も思いつきません
while (fout >> array[x][y]){ if (array[x][y]=='_') array[x][y]==' '; y++; if (y==8) { y=0; x+=1; } }
この行を見てください:
if (array[x][y]=='_') array[x][y]==' '; ^
新しい値を設定しようとすると、2つの等号があります。