New answers tagged

1

It's reading one character at a time, so it's not properly escaping the new line. I would suggest looking for escape characters in your Stampa() function, and if it's an escape character, read the next character in at the same time. Something like: void Stampa(string stringa, int i) { string r = stringa[i]; if (r == '\\') r += stringa[i+1]; ...



Top 50 recent answers are included