C++ when i try get string, it always empty, lambda

后端 未结 0 1971
臣服心动
臣服心动 2020-12-07 17:47

I have object of class

class MenuItem {
public:
    void updateInputText(string text)
    {
        this->text += text;
    }

    string getText() const {         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题