Borderou de evaluare (job #2072628)

Utilizator Consti.001FMI Dranca Constantin Consti.001 Data 21 noiembrie 2017 23:38:44
Problema A+B Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:35:2: error: unknown type name ‘pthread_t’ pthread_t thr; ^ user.c:37:2: warning: implicit declaration of function ‘pthread_create’ [-Wimplicit-function-declaration] if(pthread_create(&thr,NULL,schimb,(void*)s)) ^ user.c:45:2: warning: implicit declaration of function ‘pthread_join’ [-Wimplicit-function-declaration] if(pthread_join(thr,&result)) ^ user.c:32:7: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(s,1000,stdin); ^

Ceva nu functioneaza?