Borderou de evaluare (job #975070)
Utilizator | Data | 18 iulie 2013 23:49:51 | |
---|---|---|---|
Problema | Potrivire | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘std::vector<std::basic_string<char> > tokenize(std::string&)’:
user.cpp:6:45: error: ‘typeof’ was not declared in this scope
#define FORIT(it, v) for (typeof((v).begin()) it = (v).begin(); it != (v).end(); ++it)
^
user.cpp:21:5: note: in expansion of macro ‘FORIT’
FORIT(it, s)
^
user.cpp:21:11: error: expected ‘;’ before ‘it’
FORIT(it, s)
^
user.cpp:6:47: note: in definition of macro ‘FORIT’
#define FORIT(it, v) for (typeof((v).begin()) it = (v).begin(); it != (v).end(); ++it)
^
user.cpp:21:11: error: ‘it’ was not declared in this scope
FORIT(it, s)
^
user.cpp:6:65: note: in definition of macro ‘FORIT’
#define FORIT(it, v) for (typeof((v).begin()) it = (v).begin(); it != (v).end(); ++it)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !