初級プログラミング向け情報まとめ
解説
関数を使うのに必要なヘッダーファイル
| ヘッダーファイル | 関数 |
|---|---|
| stdio.h | printf() scanf() sprintf() sscanf() getc() putc() gets() puts() fopen() fclose() fscanf() fprintf() |
| stdlib.h | atoi() rand() malloc() realloc() free() qsort() abs() |
| math.h | sin() cos() tan() sqrt() sqrtf() sqrtl() pow() powf() powl() |
| string.h | strcpy() strncpy() strcmp() strstr() strlen() |
#include <xxxx.h>
上記の関数を使う時は、左側のヘッダーファイルをインクルードするのを忘れないように。
C言語の解説サイト
少し背伸びしたい人向け
競技プログラミング
初級~上級向け
中級~ガチ勢向け