Borderou de evaluare (job #1079843)
Utilizator | Data | 12 ianuarie 2014 13:59:27 | |
---|---|---|---|
Problema | Baruri | Status | done |
Runda | ONIS 2014, Runda 2 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:21: error: ‘strcpy’ was not declared in this scope
strcpy(q,s.c_str());
^
user.cpp:34:37: error: ‘strcpy_s’ was not declared in this scope
strcpy_s(q,s.length()+1,s.c_str());
^
user.cpp:39:36: error: ‘strtok_s’ was not declared in this scope
char* z=strtok_s(q," ",&context);
^
user.cpp:75:37: error: ‘strtok_s’ was not declared in this scope
char* z=strtok_s(q," ",&context);
^
user.cpp:105:37: error: ‘strtok_s’ was not declared in this scope
char* z=strtok_s(q," ",&context);
^
user.cpp:135:37: error: ‘strtok_s’ was not declared in this scope
char* z=strtok_s(q," ",&context);
^
user.cpp:29:8: warning: unused variable ‘y’ [-Wunused-variable]
int y=0,b=0,x=0,b1=0,b2=0,d=0;
^
user.cpp:33:10: warning: unused variable ‘buffer’ [-Wunused-variable]
char* buffer=new char[64];
^
user.cpp:21:7: warning: unused variable ‘z’ [-Wunused-variable]
int z=0;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !