CList添加出错AddTail();rror C2664: 'struct __POSITION *__thiscall CList错误
生活随笔
收集整理的這篇文章主要介紹了
CList添加出错AddTail();rror C2664: 'struct __POSITION *__thiscall CList错误
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
報錯:error C2664: ‘struct __POSITION *__thiscall CList<struct Cusb::STU_SENDDATA,struct Cusb::STU_SENDDATA &>::AddTail(struct Cusb::STU_SENDDATA &)’ : cannot convert parameter 1 from 'struct Cusb:
原因:需要重新定義CList,添加CList的數(shù)據(jù)類型
CList <STU_SENDDATA,STU_SENDDATA&> m_listSendData;//要發(fā)送的數(shù)據(jù)
CList <CloudSpeaker,CloudSpeaker&> m_lisSNtSendData;//要發(fā)送的數(shù)據(jù)
總結(jié)
以上是生活随笔為你收集整理的CList添加出错AddTail();rror C2664: 'struct __POSITION *__thiscall CList错误的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 10进制转换成16进制
- 下一篇: 报Access数据库不存在或者打不开的错