assignment from incompatible pointer type因为比较菜 出现这个错误发现是函数声明写错了 希望对你有帮助struct inputcommand*写成了struct inputcommand *版权声明:本文为m0_56922987原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。原文链接:https://blog.csdn.net/m0_56922987/article/details/115978814