function does not take 1 arguments c++

You declared this at the top:

bool stringChar();
bool stringVal();

So the compiler expects stringChar and stringVal functions to have no arguments. Change the declaration to:

bool stringChar(string response);
bool stringVal(string response);

Leave a Comment