So for our assignment we can't use 'friend' (friend bool operator > ) but I have to compare two user-inputted values (so I still have to use the bool operator just can't use friend w/ it).
Does anybody have a sample code I can look at for reference to get an idea as to how that is done? Thank you and please let me know if you need more info cause I'm not sure how vague this question is.
>I'm not sure how vague this question is. Very vaque
>Does anybody have a sample code I can look at for reference to get an idea as to how that is done? how what is done?Compare variables??
Basically my friend bool function subtracts two variables that are user-inputted. We can't use friend so I can't use two variables so I am stumped. Does that help or no D:> ? Sorry again for the super vague question.