阅读背景:

填充动态char数组会导致覆盖

来源:互联网 

I have the following problem. I allocated a 2d dynamic array of chars in C. However when I try to populate this array with unique strings in each line, every entry overwrites the previous ones. Thus, I end up with an array that has only the last string in every raw. Can offer some insights? Thank you.I have the following problem. I allocated a 2d




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: