24.03.2013, 12:44
Use this, instead of your loop:
This should work. The compiler recognizes '\n' as one character.
Код:
for(new i=0, m=strlen(result);i < m; i++) { if(result[i] == '|') { result[i] = '\n'; } }
