#include stdioh#include stdlibh#include stringhtypedef struct node char name20; struct node left; struct node right; Node;typedef struct queue Node data; struct queue next; Queue;Queu
这个错误是因为C++关键字中有一个叫做delete的,所以当你命名一个函数或变量为delete时,就会产生冲突。解决方法是改变函数名,或者在函数名前加上命名空间,例如使用std::delete。另外,建议使用C++关键字中没有的名称来命名函数和变量,以避免这种冲突。
原文地址: https://www.cveoy.top/t/topic/hllP 著作权归作者所有。请勿转载和采集!