Run Code | API | Code Wall | Misc | Feedback | Login | Theme | Privacy | Patreon |
22nd HW Switchv0.3Error(s): source_file.c: In function ‘main’: source_file.c:13:9: error: case label does not reduce to an integer constant case isspace(myChar): ^ source_file.c:16:9: error: case label does not reduce to an integer constant case ispunct(myChar): ^ source_file.c:17:67: error: expected expression before ‘}’ token {printf("You have entered a punctuation character\n",} ^ source_file.c:17:67: error: expected ‘;’ before ‘}’ token source_file.c:19:9: error: case label does not reduce to an integer constant case iscntrl(myChar): ^ source_file.c:22:9: error: case label does not reduce to an integer constant case isalnum(myChar): ^ source_file.c:25:14: error: case label does not reduce to an integer constant case isdigit(myChar): ^ source_file.c:27:14: error: case label does not reduce to an integer constant case isalpha(myChar): ^ source_file.c:28:19: error: case label does not reduce to an integer constant case islower(myChar): ^ source_file.c:10:3: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c\n",&myChar); ^ |
λ
.NET NoSQL database for rapid development
|