strncat
char *strncat( char *dest, const char *source, size_t count )
文字列destの後ろに文字列sourceの先頭count文字を連結する
文字列s1の後ろに文字列s2の先頭10文字をつなぐ
文字列destの後ろに文字列sourceの先頭count文字を連結する
strncat( s1, s2, 10 );
文字列s1の後ろに文字列s2の先頭10文字をつなぐ
http://gardener.hustle.ne.jp/programming/
C言語関連の要点まとめ(更新停止中)
strncat( s1, s2, 10 );
Trackback URL : http://gardener.hustle.ne.jp/programming/sb.cgi/16
Comments