통합
뉴스
블로그
웹문서
동영상
블로그
C언어 strtok함수를 사용하여 토큰 분리하기
#include #include char string[] = "a string,of ,,tokens"; char *token; char
in
[] = "a b c,12,23,24\
thello
\ntest"; char out[] = "hello"; int count; int main(void) { token = strtok(string, " ,"); // There
blog.naver.com · 2014.10.16