Hey i have this code in C#: Code: for (int i = 0; i < str.Length; i++) { str = (char)((int)str + 10192 + i); } and i get this error: Property or indexer 'string.this[int]' cannot be assigned to -- it is read only I wondered if its possible to do it in C++, and if it is then how?
I think you can becoz the code has nothing wrong in it...u have reached the maximum limits of characters here while typecasting but still the characters rounded off the values by doing modulus....