
[library] atoi 구현하기
·
프로그래밍/C
📌 매뉴얼 (Linux)더보기NAME atoi - convert a string to an integer: 문자열을 정수로 변환하는 함수SYNOPSIS #include int atoi(const char *nptr);DESCRIPTION The atoi() function converts the initial portion of the string pointed to by nptr to int. The behavior is the same as strtol(nptr, NULL, 10); except that atoi() does not detect errors.: atoi() 함수는 nptr가 가리키는 문자열의 처음 부분을 정수로 변환합니다. 동작 방식은..