[Solved] I’m trying to create a bool function that evaluates a char and returns true if char is ‘(‘ ‘)’ ‘*’ ‘-‘ ‘+’ [duplicate]
Lets go over a few things: Replace or with the actual operator || in c++ which is equivalent to or. (Note that or is a ISO646 standard and can be used, but depends on preference) Next we need to ensure ch is added for every character you are checking After that we should have in … Read more