Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

22nd HW Switchv0.2

Language: Layout:
+ ] Compiler args - ] Show input
Compilation time: 0.12 sec, absolute service time: 0,21 sec 
edit mode |  history  | discussion
Error(s):
source_file.c: In function ‘main’:
source_file.c:12:14: warning: implicit declaration of function ‘isspace’ [-Wimplicit-function-declaration]
         case isspace(myChar):
              ^
source_file.c:12:9: error: case label does not reduce to an integer constant
         case isspace(myChar):
         ^
source_file.c:15:14: warning: implicit declaration of function ‘ispunct’ [-Wimplicit-function-declaration]
         case ispunct(myChar):
              ^
source_file.c:15:9: error: case label does not reduce to an integer constant
         case ispunct(myChar):
         ^
source_file.c:17:14: error: expected expression before ‘break’
              break;
              ^
source_file.c:31:20: error: expected ‘;’ before ‘}’ token
                    }
                    ^
source_file.c:9:3: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
   scanf("%s\n",&myChar);
   ^

        

    
                
λ
.NET NoSQL database for rapid development