Function does not take 1 arguments

I am being given the error, "function does not take 1 arguments". Can anyone tell me what this actually means and what strategies to fix it?
you may be sending too many or too little parameters to the function when you call it e.g.

void myFunction();

int main()
{

myFunction( 6 );

return 0;
}

void myFunction()
{
}
ugh sorry, i mean the amount of arguments you have supplied doesn't match the function prototype
Um, it means the function does not take one argument.
Topic archived. No new replies allowed.