Posted on 2010-08-19 01:19
Kevin_Zhang 閱讀(294)
評(píng)論(0) 編輯 收藏 引用 所屬分類:
C/C++
原型:extern char *strcat(char *dest,char *src);
用法:#include <string.h>
功能:把src所指字符串添加到dest結(jié)尾處(覆蓋dest結(jié)尾處的'\0')并添加'\0'。
說(shuō)明:src和dest所指內(nèi)存區(qū)域不可以重疊且dest必須有足夠的空間來(lái)容納src的字符串。
返回指向dest的指針。
http://www.hudong.com/wiki/strcat?hf=youdaocitiao&pf=youdaocitiao