1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
void remove_space(char *s)
{
    char *start, *end;
    unsigned int len;
 
    while (*!= ' ' && *!= '\t' && *!= '\0')
        ++s;
    start = s;
 
    while (1)
    {
        while (*start != ' '  && *start != '\t' && *start != '\0')
            ++start;
        while ((*start == ' ' || *start == '\t'&& *start != '\0')
            ++start;
 
        end = start;
        while (*end != ' ' && *end != '\t' && *end != '\0')
            ++end;
        
        len = end - start;
        memcpy(s, start, len);
        
        s += len;
        start += len;
        if (*end == '\0')
            break;
    }
    *= '\0';
    
 
}
cs



아무리 생각해도 이게 최선인뎅

viewimage.php?id=3dafdf21f7d335ab67b1d1&no=24b0d769e1d32ca73cef81fa11d0283127709d21227bb049fff2f62433c43532672ae00a28cb40289210c3ce262d5ee7a65dc16e4237ec3ad7ea60aff37ac8c535a2