标题: keil编程求助error c267: ShowoneChar': requires AnsI-style prototype [打印本页]

作者: sshhll    时间: 2022-12-28 23:14
标题: keil编程求助error c267: ShowoneChar': requires AnsI-style prototype
这个怎么改,求助各位大佬
error c267: ShowoneChar': requires AnsI-style prototype

)VKHN571QC0@0]QPH6MF(1).png (97.19 KB, 下载次数: 67)

)VKHN571QC0@0]QPH6MF(1).png

LONQ]RK4T[1R2H0H(@G[V(H.png (18.6 KB, 下载次数: 80)

LONQ]RK4T[1R2H0H(@G[V(H.png

作者: lkc8210    时间: 2022-12-29 08:48
在5/6行之间插入
void ShowOneChar(char);
作者: man1234567    时间: 2022-12-29 08:56
error c267: ShowoneChar': requires AnsI-style prototype
译成人话就是:
编号第C267类错误,你哔哔 “ShowoneChar” 是啥意思 ?
作者: Longan.Wang    时间: 2022-12-29 13:42
你调用了ShowoneChar这个函数,但是你又没声明这个函数,编译器找不到。
作者: ytchfp163    时间: 2022-12-29 15:51
要么将 ShowOneChar(char)函数放到前面,要么在前面先声明一下,不然编译器认不出来,这跟python类语言有区别的。




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