【C言語】cosh関数の使い方 リンクを取得 Facebook × Pinterest メール 他のアプリ 11:30 cosh関数は、x の双曲線コサインを計算します。関数名coshヘッダー#include <math.h>関数プロトタイプdouble cosh(double x);詳細x の双曲線コサインを計算します。 リンクを取得 Facebook × Pinterest メール 他のアプリ
【C言語】gmtime_r関数の使い方 11:30 gmtime_r関数は、time 値を tm 型の構造体に変換します。 (gmtime の再始動可能バージョン。) 関数名 gmtime_r ヘッダー #include <time.h> 関数プロトタイプ struct tm *gmtime_r(const time_t *time, struct tm *result); 詳細 time 値を tm 型の構造体に変換します。 (gmtime の再始動可能バージョン。) 続きを読む
【C言語】strtof関数の使い方 11:30 strtof関数は、nptr を float 型の値に変換します。 関数名 strtof ヘッダー #include <stdlib.h> 関数プロトタイプ float strtof(const char *nptr, char **endptr); 詳細 nptr を float 型の値に変換します。 続きを読む
【C言語】regexec関数の使い方 11:30 regexec関数は、ヌル終了ストリング string とコンパイル済み正規表現 preg とを比較して、両者の間に一致箇所を見つけます。 関数名 regexec ヘッダー #include <regex.h> 関数プロトタイプ int regexec(const regex_t *preg, const char *string, size_t nmatch, regmatch_t *pmatch, int eflags); 詳細 ヌル終了ストリング string とコンパイル済み正規表現 preg とを比較して、両者の間に一致箇所を見つけます。 続きを読む