Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
需要将一系列二维坐标读入到Openfoam中进行计算,但使用fscanf函数编译一直有警告,且读入的数据不对。但相同的代码在VC6.0却可以成功运行,是什么原因呢? 程序如下
发现错误了,是文件名字的问题,文件名本来是大写字母,我写成小写了。警告对结果没影响,或者使用fin函数进行输入,就没有警告了。