| ページ一覧 | ブログ | twitter |  書式 | 書式(表) |

MyMemoWiki

差分

ナビゲーションに移動 検索に移動
12 バイト追加 、 2020年2月16日 (日) 04:23
編集の要約なし
==[[C getopt_long]]==
2つのdashで始まる、いわゆる長いoptionを受け付ける。
#include <unistd.h>
#define _GNU_SOURCE_GNU_SOU[[R]]CE
#include <getopt.h>
int getopt_long(int argc, char * const argv[],
#include <stdio.h>
#include <unistd.h>
#define _GNU_SOURCE_GNU_SOU[[R]]CE#include <getopt.h>
int main(int argc, char *argv[])

案内メニュー