首页 / 词典 / good

fscanf

  • 网络函数;格式化输入
fscanffscanf
  1. Coming back to string processing , fscanf again follows the traditional C file library functions .

    回到字符串处理,fscanf同样遵循传统的C文件库函数。

  2. The fscanf () function parses the input from an open file according to the specified format .

    函数的感化是:从文件中按照指定的式子输入。

  3. If you 're unfamiliar with it , fscanf reads field data into variables from a file .

    如果您不熟悉它,则fscanf将把字段数据从文件读入变量中。

  4. After you 've reached the new position , you can use fgets , fscanf , or anything else to read the data .

    在到达新位置后,可以使用fgets、fscanf或任何其他方法读取数据。

  5. The fgets , fgetss , fread , fscanf , and fclose functions also return False on error .

    fscanf和fclose函数在出错时也返回False。

  6. If you 're processing large amounts of data , fscanf will probably prove valuable and more efficient than , say , using file followed by a split and sprintf command .

    如果要处理大量数据,fscanf将能证明自己的价值并比使用file附带split和sprintf命令更有效率。

  7. Based on the existing simulated annealing algorithm , the paper proposed a simulated annealing algorithm based on controllable temperature parameter for solving TSP . The paper introduced a new two-points operator , made use of the functions ( fprintf () and fscanf ()) and global variable .

    在现有求解TSP问题的模拟退火算法的基础上,通过引入新的两点算子以及利用fprintf()函数、fs-canf()函数和全局变量的作用,提出了一种温度可控的模拟退火算法。