摘要: 结构体中用到是CString的类型变量的时候,用memset初始化是错误的 原因:m_strTemp的地址被赋值为空指针了,并不是把m_strTemp内容赋值空了,所以后续使用就出错了 如下: struct Test { CString m_strTemp; int m_nTemp; bool m_ 阅读全文
posted @ 2019-06-26 08:31 冰从天降 阅读(1774) 评论(0) 推荐(0) 编辑