read closer:
i said: acBuffer[iCount] = '\0';
you typed:
acbuffer[icount]='0';
your output was:
hello
hell0
hel00
he00
h000
0000
Moderator
Featured Poster
Reputation Points: 4142
Solved Threads: 394
Industrious Poster
Offline 4,132 posts
since Oct 2006