I wrote long code, and there are a lot of void functions in it. there is only one int function, which finds smallest. I tried to compile it and error c2064 occur, and said
no match for call to '(std::string) (std::string [10], int&, int&)
what does it mean? and how do I fix it?
below is the int smallest function and it's declaration.