|
|
int /* <- pay attention to that */ Race::Input(int from, int to)
int /* <- pay attention to that */ Race::Input(int from, int to) you say that you would return one integer if you say that you would return one integer, then you can only return one integer You cannot return two integers, you cannot return a double, you cannot return an string. You can only return one integer. |
> I get a build error that n1 and n2 aren't being initialized You never assign any value to those variables. ¿where do you think that you are setting them? |
|
|
|
|
|
|
|
|