혹시 sscanf spring(으)로 찾으셨나요?
블로그
- [영진전문대 컴퓨터정보계열] c언어 #include int main(void) { char s1[] = "100 200 300"; char s2[30]; int value; sscanf(s1, "%d", &value ); printf("%d\n", value); sprintf(s2, "%d", value); printf("%s\n", s2); return 0; } 실행결과 100 100
- 단방향 파이프 (2) BUF_SIZE]; memset( pCommand, 0x00, sizeof( pCommand) ); memset( readbuf, 0x00, sizeof( readbuf) ); sprintf == NULL) { printf("fail"); } while(fgets(readbuf, BUF_SIZE, pipein_fp)) { char scan[3][BUF_SIZE]; sscanf