Borderou de evaluare (job #1023296)
Utilizator | Data | 6 noiembrie 2013 19:21:57 | |
---|---|---|---|
Problema | Grad | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:2:2: error: invalid preprocessing directive #incluee
#incluee<cstring>
^
user.cpp: In function ‘int main()’:
user.cpp:12:11: warning: comparison with string literal results in unspecified behaviour [-Waddress]
while(c!="\n")
^
user.cpp:12:11: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
user.cpp:17:12: warning: comparison with string literal results in unspecified behaviour [-Waddress]
while(c!=" "&&c!="\n")
^
user.cpp:17:12: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
user.cpp:17:20: warning: comparison with string literal results in unspecified behaviour [-Waddress]
while(c!=" "&&c!="\n")
^
user.cpp:17:20: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
user.cpp:34:12: warning: comparison with string literal results in unspecified behaviour [-Waddress]
while(c==" ");
^
user.cpp:34:12: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !