Main.cc: In function 'int main()':
Main.cc:4:5: error: 'input' was not declared in this scope
input>>x>>endl;
^
Main.cc:4:12: error: 'x' was not declared in this scope
input>>x>>endl;
^
Main.cc:5:2: error: 'a' was not declared in this scope
a=(char)(x);
^