aiaiDBA

加微信获取免费职业规划+学习资料,了解年薪50万的DBA是如何练成的

13718043309

010-86462881

PCC-02307: void can only be used when single parameter

PCC-02307: void can only be used when single parameter
Cause: A function can be declared or defined using the following syntax: int func1(void) to indicate that the function has no parameters. void can be used only once in this case.
Action: Remove the extra voids in the function definition or declaration.

请先 登录 后评论

1 个回答

小智
PCC-02307:只能在单参数时使用,
.原因:可以使用以下语法声明或定义一个函数:int func1(void)表示该函数没有参数。在这种情况下,void只能使用一次。,
.操作:删除函数定义或声明中的额外空格。,
.
请先 登录 后评论