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);

猜你喜欢

转载自www.cnblogs.com/NULL-ROOT/p/10535818.html