【C言語】wmemcpy関数の使い方 リンクを取得 Facebook × Pinterest メール 他のアプリ 11:29 wmemcpy関数は、n ワイド文字を、s2 が示すオブジェクトから s1 が示すオブジェクトにコピーします。関数名wmemcpyヘッダー#include <wchar.h>関数プロトタイプwchar_t *wmemcpy(wchar_t *s1, const wchar_t *s2, size_t n);詳細n ワイド文字を、s2 が示すオブジェクトから s1 が示すオブジェクトにコピーします。 リンクを取得 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 とを比較して、両者の間に一致箇所を見つけます。 続きを読む