Borderou de evaluare (job #1142937)

Utilizator toranagahVlad Badelita toranagah Data 14 martie 2014 14:06:49
Problema Bemo Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:11:49: error: ‘typeof’ was not declared in this scope #define FORIT(it, begin, end) for(typeof((begin)) it = (begin); it != (end); ++it) ^ user.cpp:12:24: note: in expansion of macro ‘FORIT’ #define foreach(it, c) FORIT(it, (c).begin(), (c).end()) ^ user.cpp:56:2: note: in expansion of macro ‘foreach’ foreach(it, walk) { ^ user.cpp:56:10: error: expected ‘;’ before ‘it’ foreach(it, walk) { ^ user.cpp:11:51: note: in definition of macro ‘FORIT’ #define FORIT(it, begin, end) for(typeof((begin)) it = (begin); it != (end); ++it) ^ user.cpp:56:2: note: in expansion of macro ‘foreach’ foreach(it, walk) { ^ user.cpp:56:10: error: ‘it’ was not declared in this scope foreach(it, walk) { ^ user.cpp:11:65: note: in definition of macro ‘FORIT’ #define FORIT(it, begin, end) for(typeof((begin)) it = (begin); it != (end); ++it) ^ user.cpp:56:2: note: in expansion of macro ‘foreach’ foreach(it, walk) { ^

Ceva nu functioneaza?