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