阅读背景:

使用strlen()设置char数组长度会返回错误的大小

来源:互联网 

I am trying to create a new c-string with the length of a passed in c-string. I set a variable to the length of the old string and then try to set a new c-string with that length but checking that length returns 1. Why does this happen?I am trying to create a new c-string with the l




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

分享到: