【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.1.6.4 atol
Contents
Description
Converts string to a long.
Syntax
long atol( LPCSTR lpcsz )
Parameters
- lpcsz
- [input] the string to convert.
Return
a long value
Examples
EX1
void atol_ex1() { char szString[] = "-556677"; long nn = atol(szString); out_int("value = ", nn); }
Remark
See Also
Header to Include
origin.h