- Joined
- Oct 27, 2002
- Messages
- 23,745
- Solutions
- 14
- Reaction score
- 13,764
- Trophies
- 4
- Age
- 48
- Location
- Engine room, learning
- XP
- 15,713
- Country

I'm not sure to understand what you wanted to show by placing a \0 in the center of your string.
what about the terminating character ? the 8th that you didn't initialize.
when allocating the bufffer, what if the 8th position already has a value not zero? is it set to 0 automatically when memcopying shorter string into the buffer? I've been told to always set it manually, but maybe the compiler takes care of that.
what about the terminating character ? the 8th that you didn't initialize.
when allocating the bufffer, what if the 8th position already has a value not zero? is it set to 0 automatically when memcopying shorter string into the buffer? I've been told to always set it manually, but maybe the compiler takes care of that.
Last edited by Cyan,









