05.06.2018, 19:12
You have to create two strings and use strcat
In your code, you format actual row, but the row before is overwritten.
Код:
new str1[512], str2[100]; //loop format(str2, sizeof str2, ...); strcat(str1, str2);