프로그래밍/C
2024. 6. 29.
[library] split 구현하기
📌 매뉴얼 (in subject) 더보기 Function name do_split Prototype char **do_split(char const *s, char c); Parameters s: The string to be split. / c: The delimiter character.: s 는 나눠줄 문자열, c는 구분자 문자 Return value The array of new strings resulting from the split. NULL if the allocation fails.: 나눠진 결과 문자열의 배열을 반환, 할당에 실패하면 NULL 반환 External functs malloc, free Description All..