大家帮忙看看这有错误吗?
class Student { public:void setName(string _name){m_strName = _name;}string getName(){return m_strName;} private:string m_strName; }; int main() { Student *str = new Student();str->setName("慕课网");cout << str->getName();delete str;str = NULL;return 0; } 这有问题吗?怎么一直提示“请检查输出是否等于:慕课网,再试试!直接进入下一节”