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

CONTADOR DE PALABRAS

Language: Layout:
+ ] Compiler args + ] Show input
Compilation time: 0.18 sec, absolute service time: 0,22 sec 
edit mode |  history  | discussion
Error(s):
source_file.c:6:1: error: unknown type name ‘bool’
 bool isaword (char *sentence){
 ^
source_file.c: In function ‘isaword’:
source_file.c:10:12: warning: implicit declaration of function ‘isalpha’ [-Wimplicit-function-declaration]
         if(isalpha(sentence[i])){
            ^
source_file.c:13:20: error: ‘false’ undeclared (first use in this function)
             return false ;
                    ^
source_file.c:13:20: note: each undeclared identifier is reported only once for each function it appears in
source_file.c:16:12: error: ‘true’ undeclared (first use in this function)
     return true;
            ^
source_file.c: In function ‘lowercase’:
source_file.c:23:21: warning: implicit declaration of function ‘tolower’ [-Wimplicit-function-declaration]
         sentence[i]=tolower(sentence[i]);
                     ^
source_file.c: In function ‘compareQSORT’:
source_file.c:30:12: warning: implicit declaration of function ‘strcmp’ [-Wimplicit-function-declaration]
     return strcmp((ptrB->word),(ptrA->word));
            ^
source_file.c: At top level:
source_file.c:42:32: error: unknown type name ‘FILE’
 void mostrarPalabrasFrecuencia(FILE *entrada,FILE **salida){
                                ^
source_file.c:42:46: error: unknown type name ‘FILE’
 void mostrarPalabrasFrecuencia(FILE *entrada,FILE **salida){
                                              ^
source_file.c: In function ‘isaword’:
source_file.c:17:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^