options array call API

metis官网
Calling METIS_NodeND in Metis 5.0.2 from fortran95
http://glaros.dtc.umn.edu/gkhome/node/877#comments
A question about the use of api (METIS_PartGraphRecursive)
http://glaros.dtc.umn.edu/gkhome/node/1134
How to call the APIs of hMETIS in an application?
http://glaros.dtc.umn.edu/gkhome/node/313
A question about the use of api METIS_PartGraphRecursive ()
http://glaros.dtc.umn.edu/gkhome/node/1135#comments
Parallel Graph & Mesh Partitioning
http://glaros.dtc.umn.edu/gkhome/taxonomy/term/62/0?page=6

这些函数服务的对象是应用程序(Application), 所以便称之为 Application Programming Interface,简称 API 函数。(摘自https://blog.csdn.net/qq_35176220/article/details/78375092)

eg.用C语言编写自动关机的脚本
见:https://zhidao.baidu.com/question/116662939.html

  • #define宏定义
    详见教程:
    http://c.biancheng.net/view/187.html
  • #ifndef
    这是"if not defined"的简写,是宏定义的一种,它是可以根据是否已经定义了一个变量来进行分支选择,一般用于调试等等。实际上确切的说这应该是预处理功能中三种(宏定义,文件包含和条件编译)中的第三种----条件编译。
  • typedef
    typedef是在计算机编程语言中用来为复杂的声明定义简单的别名,它与宏定义有些差异。它本身是一种存储类的关键字,与auto、extern、mutable、static、register等关键字不能出现在同一个表达式中。
    typedef的4种用法:
  1. 为基本数据类型定义新的类型名
  2. 为自定义数据类型(结构体、共用体和枚举类型)定义简洁的类型名称
  3. 为数组定义简洁的类型名称
  4. 为指针定义简洁的名称
    详见教程:
    http://c.biancheng.net/view/298.html

猜你喜欢

转载自blog.csdn.net/yaochuyi/article/details/88092459
今日推荐