/in/ex3.cpp: In function 'int main(int, char**)':
/in/ex3.cpp:33:51: error: suggest parentheses around '&&' within '||' [-Werror=parentheses]
if(argv[1][1] == 'h' || argv[1][1] == '-' && argv[1][2] == 'h') { // if the first argument is "-h"
~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/in/ex3.cpp:38:56: error: suggest parentheses around '&&' within '||' [-Werror=parentheses]
else if(argv[1][1] == 'e' || argv[1][1] == '-' && argv[1][2] == 'e'){ // if the first argument is "-e"
~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/in/ex3.cpp:69:81: error: suggest parentheses around '&&' within '||' [-Werror=parentheses]
if(argc == 3 && (argv[2][1] == 's' || argv[2][1] == '-' && argv[2][2] == 's') && i < R) cout << ' ';
~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
/in/compile/Makefile:20: recipe for target 'ex3.o' failed
make: *** [ex3.o] Error 1