文字列の変更に問題があります。ご協力ありがとうございます。ありがとう!
struct Drawings::menues
{
std::vector<std::string> variable;
} Menue[numMenues];
Menue[1].variable.at(0).pop_back();
上記のコードは私に次のエラーを与えます
error: 'class std::basic_string<char>' has no member named 'pop_back'|
コードブロック 12.11 を使用しており、gnu gcc コンパイラを使用しており、コンパイラ設定で C++11 フラグを使用すると問題が解決しました。
皆さん、ありがとうございました!