开发平台(Platform): (Ex: Win10, Linux, ...)
Win10
编译器(Ex: GCC, clang, VC++...)+目标环境(跟开发平台不同的话需列出)
code: blocks
额外使用到的函数库(Library Used): (Ex: OpenGL, ...)
问题(Question):
在练习档案的读写时 读取档案读不到下一行
喂入的资料(Input):
无
预期的正确结果(Expected Output):
fscanf = 1
line = 26.000000,-74.000000,James
fscanf = 1
line = 26.500000,-73.000000,James
fscanf = 1
line = 27.000000,-72.000000,James
fscanf = 1
line = 27.500000,-71.000000,James
fscanf = 1
line = 28.000000,-70.000000,James
错误结果(Wrong Output):
fscanf = 1
line = 26.000000,-74.000000,James
fscanf = 0
line = 26.000000,-74.000000,James
fscanf = 0
line = 26.000000,-74.000000,James
fscanf = 0
line = 26.000000,-74.000000,James
fscanf = 0
line = 26.000000,-74.000000,James
程式码(Code):(请善用置底文网页, 记得排版,禁止使用图档)
http://codepad.org/f2JGKJsS
补充说明(Supplement):
无