0_0_33764108_14205.cpp: In function 'int main()': 0_0_33764108_14205.cpp:55:21: error: too many arguments to function 'void add(int)' add(number[i].id,1); ^ 0_0_33764108_14205.cpp:16:6: note: declared here void add(int i) ^