Why does a pointer retain its initial value when I use it within a for loop?

后端 未结 0 1821
耶瑟儿~
耶瑟儿~ 2020-11-22 11:22

I have a pointer string which starts off as an empty pointer.

std::string *name;

As soon as the app starts the pointer will be given a value

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