char str1[] = "It's Wednesday and it's mid of the week";. char str2[45];. strncpy(str2,str1,20);. std::cout<<str2<< std::endl;. strncat(str2,str1,25);.
確定! 回上一頁