reading lines using fscanf

后端 未结 4 1091
有刺的猬
有刺的猬 2020-12-09 13:51

hi i have a file which contains following lines:

wwa weweweof ewewe wdw:

      1    11 ms    <1 ms    <1 ms  174.78.134.1  
      2    11 ms    <1          


        
4条回答
  •  时光说笑
    2020-12-09 14:45

    You have to use the fgets() function because your swag value in your array is currently set to null.

提交回复
热议问题