I have a bunch of functions sharing the variable names like:
void myfunc(int a, string b);
void func2(int c, string b);
void func3(int a, int c);

But they are not consistent in the way they have been called in functions. But I want to write a general checker for input variables. Something of sort:
if inputs are like this, then they each should have this value. E.g. 'a' should not be greater than 10, 'b' should not be less than 0, etc. I ask this cause within the function call, 'a', 'b', 'c' don't really exist per se but they contain values instead.

How do I implement this?

Thanks guys