E
EduardoAva
Guest
char str[1000] = "This#is#a#sample#string";
pch=strchr(str,'#');
while (pch!=NULL)
{
printf ("%s\n",str);
int NewTop = 10;
pch=strchr(NULL,'#');
}
I need help
according to this code it is to add spaces to a character,
what I want is to do something similar but in this case I want to separate
a text in parts according to the size of the text
example of the char 5 text and print it
example:
This# : size 5
is#a# : size 5
sampl : size 5
e#str : size 5
ing : size 5 or less
Continue reading...
pch=strchr(str,'#');
while (pch!=NULL)
{
printf ("%s\n",str);
int NewTop = 10;
pch=strchr(NULL,'#');
}
I need help
according to this code it is to add spaces to a character,
what I want is to do something similar but in this case I want to separate
a text in parts according to the size of the text
example of the char 5 text and print it
example:
This# : size 5
is#a# : size 5
sampl : size 5
e#str : size 5
ing : size 5 or less
Continue reading...