运行 ID: 128711

Main.cc: In function ‘int main()’:
Main.cc:8:9: warning: comparison with string literal results in unspecified behavior [-Waddress]
  if((c>="a"&&c<="z") || (c>="A"&&c<="Z"))
         ^~~
Main.cc:8:9: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
Main.cc:8:17: warning: comparison with string literal results in unspecified behavior [-Waddress]
  if((c>="a"&&c<="z") || (c>="A"&&c<="Z"))
                 ^~~
Main.cc:8:17: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
Main.cc:8:29: warning: comparison with string literal results in unspecified behavior [-Waddress]
  if((c>="a"&&c<="z") || (c>="A"&&c<="Z"))
                             ^~~
Main.cc:8:29: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
Main.cc:8:37: warning: comparison with string literal results in unspecified behavior [-Waddress]
  if((c>="a"&&c<="z") || (c>="A"&&c<="Z"))
                                     ^~~
Main.cc:8:37: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
Main.cc:11:7: warning: comparison with string literal results in unspecified behavior [-Waddress]
  if(c>"Z"&&c<="Z"+4||c>"z")
       ^~~
Main.cc:11:7: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
Main.cc:11:19: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
  if(c>"Z"&&c<="Z"+4||c>"z")
                   ^
Main.cc:11:24: warning: comparison with string literal results in unspecified behavior [-Waddress]
  if(c>"Z"&&c<="Z"+4||c>"z")
                        ^~~
Main.cc:11:24: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
Main.cc:11:10: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
  if(c>"Z"&&c<="Z"+4||c>"z")
     ~~~~~^~~~~~~~~~