main.plg
来自「《8051系列单片机C程序设计完全手册》的光盘中的所有源代码」· PLG 代码 · 共 48 行
PLG
48 行
Build target 'Target 1'compiling main.c...MAIN.C(31): error C141: syntax error near 'int'MAIN.C(31): warning C206: 'sub_max': missing function-prototypeMAIN.C(32): error C141: syntax error near 'int'MAIN.C(32): error C202: 'n': undefined identifierMAIN.C(33): error C141: syntax error near 'int'MAIN.C(33): error C202: 'max': undefined identifierMAIN.C(34): error C202: 'n': undefined identifierMAIN.C(35): error C202: 'n': undefined identifierMAIN.C(36): error C202: 'max': undefined identifierMAIN.C(37): error C202: 'max': undefined identifierMAIN.C(41): error C141: syntax error near '}'MAIN.C(43): warning C236: '_sub_max': different length of parameter listsMAIN.C(47): error C193: '<': bad operand typeTarget not createdBuild target 'Target 1'compiling main.c...MAIN.C(34): error C202: 'i': undefined identifierMAIN.C(36): error C267: 'sub_max': requires ANSI-style prototypeMAIN.C(41): error C141: syntax error near '}'MAIN.C(43): warning C236: '_sub_max': different length of parameter listsMAIN.C(47): error C193: '<': bad operand typeTarget not createdBuild target 'Target 1'compiling main.c...MAIN.C(36): error C267: 'sub_max': requires ANSI-style prototypeMAIN.C(41): error C141: syntax error near '}'MAIN.C(43): warning C236: '_sub_max': different length of parameter listsMAIN.C(47): error C193: '<': bad operand typeTarget not createdBuild target 'Target 1'compiling main.c...MAIN.C(41): error C141: syntax error near '}'MAIN.C(47): error C193: '<': bad operand typeTarget not createdBuild target 'Target 1'compiling main.c...MAIN.C(41): warning C280: 'i': unreferenced local variablelinking...Program Size: data=15.2 xdata=72 code=2425"main" - 0 Error(s), 1 Warning(s).Build target 'Target 1'compiling main.c...linking...Program Size: data=15.2 xdata=72 code=2480"main" - 0 Error(s), 0 Warning(s).
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?