Borderou de evaluare (job #1324212)

Utilizator horatiu11Ilie Ovidiu Horatiu horatiu11 Data 21 ianuarie 2015 22:48:48
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?