0_0_34381467_21469.cpp: In function 'int main()':
0_0_34381467_21469.cpp:24:38: error: cannot convert 'bool' to 'const char*' for argument '1' to 'int strcmp(const char*, const char*)'
if(strcmp(F[i+1].place==F[i].place)){
^
0_0_34381467_21469.cpp:25:37: error: cannot convert 'bool' to 'const char*' for argument '1' to 'int strcmp(const char*, const char*)'
if(strcmp(F[i+1].name==F[i].name)){
^
0_0_34381467_21469.cpp:35:47: error: 'struct Fruit' has no member named 'number'
cout<<" |----"<<F[j].name <<'('<<F[j].number <<')'<<endl;
^
|