Main.cc: In function 'int main()': Main.cc:7:14: error: 'slice' was not declared in this scope o=slice(a); ^