You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
void str_init(char* str, int n)
|
|
{
|
|
for (int i = 0; i < n; i++)
|
|
str[i] = ' ';
|
|
str[n] = '\0';
|
|
} // could also use <https://manpages.ubuntu.com/manpages/impish/man3/strinit.3pub.html>
|