I have c-style string variable char name[25]. Now, when I input less than 25 symbols, I can’t write it to a binary file. My file contains this: ÌÌÌÌÌÌÌÌÌÌÌÌsomething. How o remove space symbols ?
I have c-style string variable char name[25] . Now, when I input less than
Share
If you want to remove spaces from c_str: