阅读背景:

如何区分堆中的字符串还是文本中的字符串?

来源:互联网 

I have a use case where I can get pointers of strings allocated either in memory or literals. Now the latter can't be freed so that's a problem if I pass the wrong one. Is there a way to know which one is allocated and which not?I have a use case where I can get pointers of s




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

分享到: