Main.cc: In function 'int main()':
Main.cc:10:13: error: expected ';' before 'cnt'
cin cnt = 0;
^
Main.cc:10:20: warning: statement has no effect [-Wunused-value]
cin cnt = 0;
^
Main.cc:15:17: error: 'cut' was not declared in this scope
cut++;
^
Main.cc:18:17: error: 'cnt' was not declared in this scope
cout << cnt << endl;
^