Memory not being allocated correctly for char*

前端 未结 0 600
无人及你
无人及你 2021-02-01 05:58

Hello I am making string class. Out of nowhere it started to allocate memory in the wrong size for the character buffer. I allocate a size of 5 and it does a random size like tw

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