【C言語】atol関数の使い方

atol関数は、string を long 型整数に変換します。

関数名atol
ヘッダー#include <stdlib.h>
関数プロトタイプlong int atol(const char *string);
詳細string を long 型整数に変換します。

このブログの人気の投稿

【C言語】va_end関数の使い方

【C言語】rand_r関数の使い方

【C言語】gmtime_r関数の使い方