0
|
LucasMaliszewski · 技术社区 · 2 年前 |
1
1
将评论转化为答案。 我的直接猜测是,您无法打开文件,这是一个您没有检查的错误,必须始终检查。文件擅离职守,或者程序从错误的目录运行,或者它们拥有错误的权限。
文件名的重复文本显示了为什么不应该将字符串文本作为文件名传递给
实际上,您可能应该将要加载的文件名传递给
你也可以
还有,你应该
此外,还将在load_file()中返回本地数组的地址
you can't do that safely
.在中定义数组
将所有这些变化放在一起可能会产生:
已编译但未运行。 您可以这样处理命令行参数:
或者你可以允许一个以上的参数,并对它们进行迭代。
有时,最好是在窗口中打开和关闭文件
|
Safa Ads · CDN:无法下载中继URL:https://cdn.jsdelivr.net/cocoa/Specs/2/e/c/RxSwift/3.0.0-rc.1/RxSwift.podspec.json响应:SSL连接错误 1 年前 |
sizzyd · XCode IOS如何摆脱主屏幕上的后退按钮? 2 年前 |
xdavidliu · XCode项目对C++标准的选择没有得到尊重 2 年前 |
Ali · UiView()内的自定义匿名闭包导航返回按钮 2 年前 |
user3907 · Xcode问题-崩溃-无法从文件中读取属性列表 2 年前 |
Vinod prajapat · 如何更新数组的最后一个元素? 2 年前 |