int mainloop(struct StuHead *pstStuList,
struct TeaHead *pstTeaList,
struct Admin *pstAdmin)
/*提示struct StuHead *,
struct TeaHead *,
struct Admin *这三个参数conflicting types for ‘mainloop’*/
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
你在函数使用前忘记声明或者之前的声明和后面你改动的不同。
如果你没有声明那就声明;如果声明和定义不同,那就改成相同的。
试试在定义/调用这个函数前定义/声明这几个结构体,这个有点像没有声明函数就调用函数的报错。
123456789