Compile Error
/in/calc.cpp:78:55: error: '&&' within '||' [-Werror,-Wlogical-op-parentheses] if(input[0] == operations[i] || input[0]>='0' && input[0] <= '9'){ ~~ ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /in/calc.cpp:78:55: note: place parentheses around the '&&' expression to silence this warning if(input[0] == operations[i] || input[0]>='0' && input[0] <= '9'){ ^ ( ) 1 error generated. /in/Compile/Makefile:44: recipe for target 'buildCalc' failed make: *** [buildCalc] Error 1
Information
- Submit By
- Type
- Submission
- Homework
- Project 5
- Language
- C++
- Submit At
- 2023-12-10 02:10:40
- Judged At
- 2023-12-10 02:10:40
- Judged By
- Score
- 0
- Total Time
- 0ms
- Peak Memory
- 0 Bytes