0_0_22123083_943.cpp:1:1: error: 'string' does not name a type
string a1="rat";
^
0_0_22123083_943.cpp:2:1: error: 'string' does not name a type
string a2="ox";
^
0_0_22123083_943.cpp:3:1: error: 'string' does not name a type
string a3="tiger";
^
0_0_22123083_943.cpp:4:1: error: 'string' does not name a type
string a4="rabbit";
^
0_0_22123083_943.cpp:5:1: error: 'string' does not name a type
string a5="dragon";
^
0_0_22123083_943.cpp:6:1: error: 'string' does not name a type
string a6="snake";
^
0_0_22123083_943.cpp:7:1: error: 'string' does not name a type
string a7="horse";
^
0_0_22123083_943.cpp:8:1: error: 'string' does not name a type
string a8="sheep";
^
0_0_22123083_943.cpp:9:1: error: 'string' does not name a type
string a9="monkey";
^
0_0_22123083_943.cpp:10:1: error: 'string' does not name a type
string a10="rooster";
^
0_0_22123083_943.cpp:11:1: error: 'string' does not name a type
string a11="dog";
^
0_0_22123083_943.cpp:12:1: error: 'string' does not name a type
string a12="pig";
^
0_0_22123083_943.cpp:13:10: error: 'string' was not declared in this scope
int tran(string a)
^
0_0_22123083_943.cpp:14:1: error: expected ',' or ';' before '{' token
{
^
|