標題: 求教程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
表示函數(shù) Lcdwritecommand 的聲明不符合 ANSI C 的函數(shù)原型規(guī)范。 在 ANSI C 中,函數(shù)聲明應該包括函數(shù)的返回類型、函數(shù)名和參數(shù)列表,并且參數(shù)列表中每個參數(shù)的類型都要明確聲明。
作者: lkc8210    時間: 2025-1-2 17:47
沒有聲明
可以加回聲明或把main()函數(shù)移到代碼尾




歡迎光臨 (http://www.torrancerestoration.com/bbs/) Powered by Discuz! X3.1