Guest
Login
跳过导航链接

Compile Error:

  : In function 'int main()':
:5:35: error: 'E0F' was not declared in this scope; did you mean 'EOF'?
    5 |         while((c = getchar() ) != E0F){
      |                                   ^~~
      |                                   EOF
:6:21: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    6 |                 if(c>="A"&& c<="Z") putchar(c+32);
      |                    ~^~~~~
:6:30: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    6 |                 if(c>="A"&& c<="Z") putchar(c+32);
      |                             ~^~~~~
:7:26: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    7 |                 else if(c>="a"&& c<="z") putchar(c-32);
      |                         ~^~~~~
:7:35: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    7 |                 else if(c>="a"&& c<="z") putchar(c-32);
      |                                  ~^~~~~
:8:32: error: expected ';' before '}' token
    8 |                 else putchar(c)
      |                                ^
      |                                ;
    9 |         }
      |         ~                       

  

Zhe Jiang University Of Technology Online Programming Space Beta1.3
Designed & Developped By Jin Qiwei
Refactored By cb@zjut.edu.cn , QQ Group: 723311416  All Copyright Reserved 2006-
296