报错Error:不能将“ cuetomer”的类型的值分配到“ cuetomer”的类型的实体。
我在头文件中有定义Customer *m_pQueue,却出现如下报错:
解决方案:
改写成:Customer *m_pQueue=new Customer[m_iQueueCapacity];即可解决。
如下图:
报错Error:不能将“ cuetomer”的类型的值分配到“ cuetomer”的类型的实体。
我在头文件中有定义Customer *m_pQueue,却出现如下报错:
解决方案:
改写成:Customer *m_pQueue=new Customer[m_iQueueCapacity];即可解决。
如下图: