摘要:
getopt解析 主要由以下三个函数组成 getopt() getopt_long() getopt_long_only() optarg——指向当前选项参数(如果有)的指针。 optind——再次调用 getopt() 时的下一个 argv 指针的索引。 optopt——最后一个未知选项。 功能 阅读全文
posted @ 2022-07-05 17:12
INnoVation-V2
阅读(114)
评论(0)
推荐(0)
摘要:
#define MAX(a, b) ((a > b) ? (a):(b)) static int cycle = 0; int a[] = { 9, 3, 5, 2, 1, 0, 8, 7, 6, 4 }; int MAX2(int a, int b) { return a > b ? a : b; 阅读全文
posted @ 2022-07-05 15:43
INnoVation-V2
阅读(50)
评论(0)
推荐(0)
摘要:
LLDB | 命令 | 描述 | | | | | thread backtrace(bt) | 查看各级函数调用及参数 | | thread step-out(finish) | 连续运行到当前函数返回为止,然后停下来等待命令 | | frame(或f) 帧编号 | 选择栈帧 | | info(或i 阅读全文
posted @ 2022-07-05 15:42
INnoVation-V2
阅读(204)
评论(0)
推荐(0)

浙公网安备 33010602011771号