prog.cpp: In function ‘int main()’:
prog.cpp:6:2: error: ‘Scanner’ was not declared in this scope
Scanner input = new Scanner(System.in);
^~~~~~~
prog.cpp:8:6: error: ‘input’ was not declared in this scope
a = input.nextInt();
^~~~~
prog.cpp:8:6: note: suggested alternative: ‘ino_t’
a = input.nextInt();
^~~~~
ino_t