Borderou de evaluare (job #975071)

Utilizator olteanul_georgeOltean George olteanul_george Data 18 iulie 2013 23:50:27
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:7: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:22:5: note: in expansion of macro ‘FORIT’ FORIT(it, s) ^ user.cpp:22:11: error: expected ‘;’ before ‘it’ FORIT(it, s) ^ user.cpp:7:47: note: in definition of macro ‘FORIT’ #define FORIT(it, v) for (typeof((v).begin()) it = (v).begin(); it != (v).end(); ++it) ^ user.cpp:22:11: error: ‘it’ was not declared in this scope FORIT(it, s) ^ user.cpp:7: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?