P
pneuvil1
Shouldn't this work in c++?
int i=0;
while (i < 35) databuffer = databuffer [++i];
databuffer [35] = x;
It does in CSharp.
here I am making room at the end of the buffer and then sticking a character
at the end. What happens is that the characters stuffed at the end never get
migrated down the buffer. It is as if the ++i is behaving like i++.
data buffer is declared like: char databuffer [36];
int i=0;
while (i < 35) databuffer = databuffer [++i];
databuffer [35] = x;
It does in CSharp.
here I am making room at the end of the buffer and then sticking a character
at the end. What happens is that the characters stuffed at the end never get
migrated down the buffer. It is as if the ++i is behaving like i++.
data buffer is declared like: char databuffer [36];