0_0_22436230_10271.cpp:37:1: error: expected unqualified-id before '{' token { ^ 0_0_22436230_10271.cpp: In function 'int main()': 0_0_22436230_10271.cpp:56:15: error: 'mirror' was not declared in this scope B=mirror(A,L); ^