char *strcat(), *strcpy(), *fgets();

anw at nott-cs.UUCP anw at nott-cs.UUCP
Wed Jun 29 02:19:40 AEST 1988


In article <2029 at pt.cs.cmu.edu> jgk at speech2.cs.cmu.edu (Joe Keane) writes:
>To be useful, strcpy and strcat should return the end of the new
>string.

	If it has to be one or t'other, don't forget that the way C works
it is easier to find the end of a string given its beginning than to find
its beginning given its end.

-- 
Andy Walker, Maths Dept., Nott'm Univ., UK
anw at maths.nott.ac.uk



More information about the Comp.std.c mailing list