阅读背景:

从C内存故障中删除字符串中的空格

来源:互联网 

I'm writing a simple code for removing spaces from a string in C however I get the following message after compiling: EXC_BAD_ACCESS (code=2, adresss=....). It's coming from the line '*temp = *str' however I don't understand why? How can I fix it?I'm writing a simple code for removing spaces f




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

分享到: