F
Flzw
Okay I have something like this :
--
char* DriveLetter = "C:\\";
.....
// Now I want it to be "D:\\" So I want to do :
DriveLetter[0] += 1; // This crashes the app
--
Well, I'm quite sure I've already done things that looked like that and
worked but oh well, this could just be a dream, anyway, what's wrong ? how
can I have it to work ?
thanks
--
char* DriveLetter = "C:\\";
.....
// Now I want it to be "D:\\" So I want to do :
DriveLetter[0] += 1; // This crashes the app
--
Well, I'm quite sure I've already done things that looked like that and
worked but oh well, this could just be a dream, anyway, what's wrong ? how
can I have it to work ?
thanks