error: expected specifier-qualifier-list before 'node'
2011-10-24 15:16 诸葛二牛 阅读(514) 评论(0) 收藏 举报The problem is that your structs are unnamed. You need to give them names so you can refer to them within themselves, e.g.
1 typedef struct treeNode{
2 char val;
3 struct treeNode *left, *right;
4 } NODE;
浙公网安备 33010602011771号