can you post your code?
what is 'i' at the time you allocate your char array? is it > 0 ?
can you post your code?
what is 'i' at the time you allocate your char array? is it > 0 ?
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
Bookmarks