- Code: Select all
void setText(char msg[256])
{
int i;
int tmp = strlen(msg);
while(i<tmp)
{
i++;
strcpy(text, &msg[i]);
break;
}
}
When I use this code, the typewritting works lol but it stamps the whole message and deletes it instead of types it
void setText(char msg[256])
{
int i;
int tmp = strlen(msg);
while(i<tmp)
{
i++;
strcpy(text, &msg[i]);
break;
}
}
Users browsing this forum: No registered users and 1 guest