0_0_15098170_32597.cpp:48:2: error: 'a' does not name a type }a ^ 0_0_15098170_32597.cpp: In function 'int main()': 0_0_15098170_32597.cpp:59:14: error: 'rest' was not declared in this scope rest(); ^