Hi,
I am trying to initialize a cpp string. Whever the length if the string is less than 15 characters everything works fine but when I try and use a string of 16 or more characters the buffer doesn't change size and the 16 spaces are filled with garbage. Below some screenshots...
using:
string plot ("123456789012345");
using:
string plot ("1234567890123456789");
*Notice how _MySize is now 19 which is correct but the buffer is still 16
Any idea why this happen? I'm running this on an Stellaris LM3S6965
Thanks in advance for any help