Run id: 128651
Main.cc: In function 'char num_to_char(int)':
Main.cc:7:2: error: expected ';' before '}' token
}
^
Main.cc: In function 'int main()':
Main.cc:14:17: error: 'n' was not declared in this scope
int i=0,temp=0;n,num=0,r,s=0;
^
Main.cc:14:19: error: 'num' was not declared in this scope
int i=0,temp=0;n,num=0,r,s=0;
^
Main.cc:14:25: error: 'r' was not declared in this scope
int i=0,temp=0;n,num=0,r,s=0;
^
Main.cc:14:27: error: 's' was not declared in this scope
int i=0,temp=0;n,num=0,r,s=0;
^
Main.cc:16:2: error: expected ',' or ';' before 'cin'
cin>>num;
^
Main.cc:28:13: warning: statement has no effect [-Wunused-value]
for(i=s-1;i>=0;i--){
^
Main.cc:28:20: error: expected ';' before ')' token
for(i=s-1;i>=0;i--){
^