분류 전체보기 썸네일형 리스트형 Javascript readonly 활성화, 비활성화 엘리먼트.readOnly = true; 엘리먼트.readOnly = false; Javascript splice 배열에 요소 끼워 넣기 let arr = ['a', 'c']; arr.splice(1, 0, 'c'); //시작 인덱스, 지울 요소 갯수, 삽입할 요소 C strtok() I. syntax #include char *strtok(char *string1, const char *string2); 문자열을 분리해준다. II. return 토큰에 대한 포인터를 반환, 토큰이 더 없으면 NULL을 반환한다. III.arguments 1. char *string1: 분리할 문자열 2. const char *string2: 분리할 기준 C strstr() I. syntax #include char *strstr(const char *string1, const char *string2); string1에서 string2의 첫 번째 표시를 찾는다. II. return 성공시 string2의 첫 번째 표시 시작 위치에 대한 포인터, 실패시 NULL을 반환한다. III. arguments 1. const char *string1: 비교대상 문자열 2. const char *string2: 찾을 문자열 C dup() I. syntax #include int dup(int fd); 파일 디스크립터를 복제한다. II. return 성공시 파일 디스크립터, 실패시 -1을 반환한다. III. argument int fd: 복제할 파일 디스크립터 이전 1 ··· 12 13 14 15 16 17 18 ··· 90 다음