因此,我正在学习有关C的教程,但由于结构使用了malloc函数,而我的编译器(VisualStudioC++10.0)似乎无法正常运行该函数,因此我一直停留在结构上。所以我完全按照说明进行操作,我可以编译C,除了在这个特定的代码中,它给了我一个错误(代码从教程网站上直接获取):#include#includestructnode{intx;structnode*next;};intmain(){/*Thiswon'tchange,orwewouldlosethelistinmemory*/structnode*root;/*Thiswillpointtoeachnodeasittrav