strncat
Syntax:
#include <cstring> char *strncat( char *str1, const char *str2, size_t count ); The function strncat() concatenates at most count characters of str2 onto str1, adding a null termination. The resulting string is returned. Another set of related (but non-standard) functions are strlcpy and strlcat. |