阅读背景:

如何将字符串向量传递给foo(char const *const *const)?

来源:互联网 

Edit: After implementing James Hopkin' suggestion, I still get the warnings of "invalid name 'null'", which is much better than those weird characters. Then, I went back and read the library document again, and it turns out that for that particular function, it's argument should have one more element of non-NULL string than the size of aNames. That additional string has some other purpose. After adding one more string, the code runs fine. It's all my fault, and I am so sorry. After implementing James Hopkin' suggesti




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

分享到: