Run id: 155841
Main.cc:2:1: error: 'usingnamespacestd' does not name a type
usingnamespacestd;
^
Main.cc:3:9: error: ISO C++ forbids declaration of 'intmain' with no type [-fpermissive]
intmain(){
^
Main.cc: In function 'int intmain()':
Main.cc:4:5: error: 'chara' was not declared in this scope
chara,n;
^
Main.cc:4:11: error: 'n' was not declared in this scope
chara,n;
^
Main.cc:5:5: error: 'cin' was not declared in this scope
cin>>n;
^
Main.cc:5:5: note: suggested alternative:
In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:74:0,
from Main.cc:1:
/usr/include/c++/5/iostream:60:18: note: 'std::cin'
extern istream cin; /// Linked to standard input
^
Main.cc:6:5: error: 'a' was not declared in this scope
a=n+32;
^
Main.cc:7:5: error: 'cout' was not declared in this scope
cout<& __os)
^
Main.cc:8:5: error: 'return0' was not declared in this scope
return0;
^
Main.cc:9:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^