I have a string say
LPTSTR orgString =_T("abc\refg\rhij");
Here task is I need to remove a character '\r'(carriage return). I don't want to use again new temporary buffer, using existing string with some manipulations I need to remove '\r' character.
But while moving the contents inside the "orgString" I am getting access violation exception.
Even simple statement orgString[3] = orgString[4]
; giving access violation.
Don't know where I am thinking wrong please help me!!!