Unnamed
public text v1 · immutablewhile ( *p != '\0' )
{
c=0;
if ( *p == ':' )
{
i++;
c=0;
}
if ( *p > 'A' && *p < 'Z' && i != 2 )
{
printf("TYPE: %c\n",*p);
buf1[c] = *p;
}
if ( i >= 2 )
{
printf("MSG: %c\n",*p);
buf2[c] = *p;
}
p++;
c++;
}
i = 0;
}