prog.cpp:11:31: error: ‘binList’ has not been declared
int addInventory (int binNum, binList[] ,inventory ,int delta);
^~~~~~~
prog.cpp:12:33: error: ‘binList’ has not been declared
int minusInventory (int binNum, binList[] ,inventory ,int delta);
^~~~~~~
prog.cpp:57:19: error: ‘int addInventory’ redeclared as different kind of symbol
int addInventory (binList[binNum], inventory ,int delta){
^~~~~~~
prog.cpp:11:5: note: previous declaration ‘int addInventory(int, int*, inventory, int)’
int addInventory (int binNum, binList[] ,inventory ,int delta);
^~~~~~~~~~~~
prog.cpp:57:19: error: ‘binList’ was not declared in this scope
int addInventory (binList[binNum], inventory ,int delta){
^~~~~~~
prog.cpp:57:27: error: ‘binNum’ was not declared in this scope
int addInventory (binList[binNum], inventory ,int delta){
^~~~~~
prog.cpp:57:27: note: suggested alternative: ‘linux’
int addInventory (binList[binNum], inventory ,int delta){
^~~~~~
linux
prog.cpp:57:46: error: expected primary-expression before ‘,’ token
int addInventory (binList[binNum], inventory ,int delta){
^
prog.cpp:57:47: error: expected primary-expression before ‘int’
int addInventory (binList[binNum], inventory ,int delta){
^~~
prog.cpp:61:21: error: ‘int minusInventory’ redeclared as different kind of symbol
int minusInventory (binList[binNum] ,inventory ,int delta){
^~~~~~~
prog.cpp:12:5: note: previous declaration ‘int minusInventory(int, int*, inventory, int)’
int minusInventory (int binNum, binList[] ,inventory ,int delta);
^~~~~~~~~~~~~~
prog.cpp:61:21: error: ‘binList’ was not declared in this scope
int minusInventory (binList[binNum] ,inventory ,int delta){
^~~~~~~
prog.cpp:61:29: error: ‘binNum’ was not declared in this scope
int minusInventory (binList[binNum] ,inventory ,int delta){
^~~~~~
prog.cpp:61:29: note: suggested alternative: ‘linux’
int minusInventory (binList[binNum] ,inventory ,int delta){
^~~~~~
linux
prog.cpp:61:48: error: expected primary-expression before ‘,’ token
int minusInventory (binList[binNum] ,inventory ,int delta){
^
prog.cpp:61:49: error: expected primary-expression before ‘int’
int minusInventory (binList[binNum] ,inventory ,int delta){
^~~