我有一個應用程序,我想用它打印狀態消息。但是,有時會出現一個較短的狀態消息按照較長的狀態消息,這會導致以下情況: 長消息: this is the long status message which is longer than the short one
短消息: This is the short status messagewhich is longer than the short o
我目前遇到導航txt文件的問題,所以我可以將它讀入數組中。程序編譯罰款,但是當我運行它在終端返回: terminate called after throwing an instance of 'std::out_of_range'
what(): basic_string::erase: __pos (which is 18446744073709551615) > this->siz