Borderou de evaluare (job #2020243)
Utilizator | Data | 9 septembrie 2017 17:39:24 | |
---|---|---|---|
Problema | Bool | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘bool NOT()’:
user.cpp:29:74: error: lvalue required as left operand of assignment
else if(c[pointer] == 'T' && c[pointer + 1] == 'R' && c[pointer + 2] = 'U')
^
user.cpp: In function ‘int main()’:
user.cpp:78:23: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(c,nmax+3,in);
^
user.cpp:82:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%d\n",&t);
^
user.cpp:83:23: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(k,tmax+3,in);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !