标题: 求教程error C267: 'Lcdwritecommand': requires ANSI-style prototype [打印本页]

作者: 零点一    时间: 2025-1-2 16:25
标题: 求教程error C267: 'Lcdwritecommand': requires ANSI-style prototype
error C267: 'Lcdwritecommand': requires ANSI-style prototype这东西到底怎么解决


作者: 飞云居士    时间: 2025-1-2 17:31
表示函数 Lcdwritecommand 的声明不符合 ANSI C 的函数原型规范。 在 ANSI C 中,函数声明应该包括函数的返回类型、函数名和参数列表,并且参数列表中每个参数的类型都要明确声明。
作者: lkc8210    时间: 2025-1-2 17:47
没有声明
可以加回声明或把main()函数移到代码尾




欢迎光临 (http://www.51hei.com/bbs/) Powered by Discuz! X3.1