Borderou de evaluare (job #1138307)
| Utilizator | Data | 9 martie 2014 21:16:05 | |
|---|---|---|---|
| Problema | Dir | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘char eval(char)’:
user.cpp:13:29: error: invalid conversion from ‘char’ to ‘char*’ [-fpermissive]
return strcat(path, test);
^
In file included from /usr/local/include/c++/4.8.0/cstring:42:0,
from user.cpp:2:
/usr/include/string.h:135:14: error: initializing argument 1 of ‘char* strcat(char*, const char*)’ [-fpermissive]
extern char *strcat (char *__restrict __dest, __const char *__restrict __src)
^
user.cpp:13:29: error: invalid conversion from ‘char*’ to ‘char’ [-fpermissive]
return strcat(path, test);
^
user.cpp: In function ‘int main()’:
user.cpp:17:15: error: storage size of ‘path’ isn’t known
char path[];
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
