结构体中字符串赋值

结构体中字符串赋值,不能用=直接赋值,需要用strncpy,否则报出一下错误

line 1707.57: 1540-0218 (S) The call does not match any parameter list for "operator="

为什么?

原文地址:https://www.cnblogs.com/orchid-sky/p/3559748.html