annoying Problem :P

Started by
1 comment, last by bengosney 22 years, 3 months ago
I have a dynamic array of char but my problem comes when filling it. It seems to make the array as I fill it. It adds 6 more char''s on the end so I end up with junk at the end. Does anyone know how to solve this or a way to work around it? Ben Gosney.
Please excuse my grammer, I'm from zomerzet
Advertisement
did you put the character ''\0'' after the last one?
humanity will always be slaved by its ignorance
Ah thanx, that did it

Ben Gosney.
Please excuse my grammer, I'm from zomerzet

This topic is closed to new replies.

Advertisement