Cho mình hỏi cách dùng hàm strcpy_s trong C++.
Mình viết như vầy nhưng cứ bị lỗi “Buffer is too small”:
strcpy_s(new_Copy, sizeof(new_Copy), nguon_Copy);
Found the problem, and solved it. Just flagged the post.
Cho mình hỏi cách dùng hàm strcpy_s trong C++.
Mình viết như vầy nhưng cứ bị lỗi “Buffer is too small”:
strcpy_s(new_Copy, sizeof(new_Copy), nguon_Copy);
Found the problem, and solved it. Just flagged the post.
83% thành viên diễn đàn không hỏi bài tập, còn bạn thì sao?