strcpy_s 和 strcat_s的用法

     strcpy_s 和 strcat_s的用法

char source[] = "Hello world !";
char destination[20] = {0};
strcpy_s(destination,sizeof(destination)/sizeof(destination[0]),source);

 

posted @ 2019-03-15 11:16  NULL_ROOT  阅读(698)  评论(0编辑  收藏  举报