Using memcpy : Char Array Function « Data Type « C++. ... int main() { char s1[ 17 ], s2[] = "Copy this string"; memcpy( s1, s2, 17 ); cout << "After s2 is ...
確定! 回上一頁