出力でフィル値を「-」文字に設定するコード行がありますが、setfill フラグをデフォルトの空白文字にリセットする必要があります。それ、どうやったら出来るの?
cout << setw(14) << " CHARGE/ROOM" << endl;
cout << setfill('-') << setw(11) << '-' << " " << setw(15) << '-' << " " << setw(11) << '-' << endl;
私はこれがうまくいくかもしれないと思った:
cout.unsetf(ios::manipulatorname) // Howerver I dont see a manipulator called setfill
私は間違った道を進んでいますか?