Borderou de evaluare (job #424837)
Utilizator | Data | 25 martie 2010 11:20:57 | |
---|---|---|---|
Problema | Palindrom2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
In file included from /usr/include/c++/4.2/backward/fstream.h:31,
from user.cpp:1:
/usr/include/c++/4.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
user.cpp:46:2: warning: no newline at end of file
user.cpp: In function 'void strrot(unsigned char*)':
user.cpp:7: error: invalid conversion from 'unsigned char*' to 'char*'
user.cpp:7: error: initializing argument 1 of 'char* strcpy(char*, const char*)'
user.cpp:7: error: invalid conversion from 'unsigned char*' to 'const char*'
user.cpp:7: error: initializing argument 2 of 'char* strcpy(char*, const char*)'
user.cpp:8: error: invalid conversion from 'unsigned char*' to 'const char*'
user.cpp:8: error: initializing argument 1 of 'size_t strlen(const char*)'
user.cpp:9: warning: left-hand operand of comma has no effect
user.cpp: In function 'int main()':
user.cpp:19: error: invalid conversion from 'unsigned char*' to 'char*'
user.cpp:19: error: initializing argument 1 of 'char* strcpy(char*, const char*)'
user.cpp:19: error: invalid conversion from 'unsigned char*' to 'const char*'
user.cpp:19: error: initializing argument 2 of 'char* strcpy(char*, const char*)'
user.cpp:21: error: invalid conversion from 'unsigned char*' to 'const char*'
user.cpp:21: error: initializing argument 1 of 'int strcmp(const char*, const char*)'
user.cpp:21: error: invalid conversion from 'unsigned char*' to 'const char*'
user.cpp:21: error: initializing argument 2 of 'int strcmp(const char*, const char*)'
user.cpp:24: error: invalid conversion from 'unsigned char*' to 'const char*'
user.cpp:24: error: initializing argument 1 of 'size_t strlen(const char*)'
user.cpp:33: error: invalid conversion from 'unsigned char*' to 'char*'
user.cpp:33: error: initializing argument 1 of 'char* strcpy(char*, const char*)'
user.cpp:33: error: invalid conversion from 'unsigned char*' to 'const char*'
user.cpp:33: error: initializing argument 2 of 'char* strcpy(char*, const char*)'
user.cpp:35: error: invalid conversion from 'unsigned char*' to 'char*'
user.cpp:35: error: initializing argument 1 of 'char* strcat(char*, const char*)'
user.cpp:35: error: invalid conversion from 'unsigned char*' to 'const char*'
user.cpp:35: error: initializing argument 2 of 'char* strcat(char*, const char*)'
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !