Borderou de evaluare (job #1650188)

Utilizator Vali_DeaconuVali Deaconu Vali_Deaconu Data 11 martie 2016 17:05:07
Problema Hashuri Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘bool Verifica(int)’: user.cpp:4:34: error: ‘typeof’ was not declared in this scope # define foreach(A) for(typeof (A).begin() it = (A).begin(); it != (A).end(); ++it) ^ user.cpp:16:5: note: in expansion of macro ‘foreach’ foreach(h[key]) ^ user.cpp:4:44: error: expected ‘;’ before ‘it’ # define foreach(A) for(typeof (A).begin() it = (A).begin(); it != (A).end(); ++it) ^ user.cpp:16:5: note: in expansion of macro ‘foreach’ foreach(h[key]) ^ user.cpp:4:62: error: ‘it’ was not declared in this scope # define foreach(A) for(typeof (A).begin() it = (A).begin(); it != (A).end(); ++it) ^ user.cpp:16:5: note: in expansion of macro ‘foreach’ foreach(h[key]) ^ user.cpp: In function ‘void Sterge(int)’: user.cpp:4:34: error: ‘typeof’ was not declared in this scope # define foreach(A) for(typeof (A).begin() it = (A).begin(); it != (A).end(); ++it) ^ user.cpp:31:5: note: in expansion of macro ‘foreach’ foreach (h[key]) ^ user.cpp:4:44: error: expected ‘;’ before ‘it’ # define foreach(A) for(typeof (A).begin() it = (A).begin(); it != (A).end(); ++it) ^ user.cpp:31:5: note: in expansion of macro ‘foreach’ foreach (h[key]) ^ user.cpp:4:62: error: ‘it’ was not declared in this scope # define foreach(A) for(typeof (A).begin() it = (A).begin(); it != (A).end(); ++it) ^ user.cpp:31:5: note: in expansion of macro ‘foreach’ foreach (h[key]) ^

Ceva nu functioneaza?