We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
"Keil C51 is very good." ===> "C51 is v" strcopy(DestStr, SourceStr, 6, 8) ? How to implement it ?
Isn't it the same as strncpy(DestStr, SourceStr+StartPos, Count) ?
K&R shows implementations of some of the standard string library functions as examples. You should be able to work from there?
strncpy(Dest, Source+StartPos, Count); if Source+StartPos > strlen(Source) then Dest = ??
Or for even more examples: http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libc/string/