C++中要将字符串存入数组中时不能直接赋值

在学习C++的过程中突然发现对于要往数组中存入字符串时不能直接赋值,要使用strcpy()或strncpy()

0 0 vote
Article Rating
Subscribe
提醒
guest
0 评论
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x