Bases Bases Bases...
Understand you damn code, Or you won't go far.
This error is simple ; Your Function, Let's say "Whatever(Arg1, Arg2, Arg3);"
Takes more or less than the current number or args (3).
But as you will hit many errors like that as you just are a CopyPasta, I think You should start learning C++ The good way ; By The basics.