Borderou de evaluare (job #1628538)
Utilizator | Data | 4 martie 2016 08:43:48 | |
---|---|---|---|
Problema | Cartite | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void csekkol()’:
user.cpp:94:11: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
g<<c.x-1<<' '<<c.y-1<<' '<<c.h<<' ';
^
user.cpp:94:15: warning: left shift count >= width of type [enabled by default]
g<<c.x-1<<' '<<c.y-1<<' '<<c.h<<' ';
^
user.cpp:94:23: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
g<<c.x-1<<' '<<c.y-1<<' '<<c.h<<' ';
^
user.cpp:94:27: warning: left shift count >= width of type [enabled by default]
g<<c.x-1<<' '<<c.y-1<<' '<<c.h<<' ';
^
user.cpp:94:37: warning: left shift count >= width of type [enabled by default]
g<<c.x-1<<' '<<c.y-1<<' '<<c.h<<' ';
^
user.cpp:94:35: warning: statement has no effect [-Wunused-value]
g<<c.x-1<<' '<<c.y-1<<' '<<c.h<<' ';
^
user.cpp: In function ‘int main()’:
user.cpp:102:7: error: request for member ‘close’ in ‘g’, which is of non-class type ‘int’
g.close();
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !