Borderou de evaluare (job #1018599)
Utilizator | Data | 29 octombrie 2013 19:58:58 | |
---|---|---|---|
Problema | Nc | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘char* readFile(char*, int*)’:
user.cpp:17:12: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
size_t result;
^
user.cpp: In function ‘int main()’:
user.cpp:64:40: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
char* file = readFile("nc.in", &len);
^
user.cpp:71:37: error: ‘strtok_s’ was not declared in this scope
char *pch = strtok_s (file,".!?", m);
^
user.cpp:63:14: warning: unused variable ‘i’ [-Wunused-variable]
int len, i = 0;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !