Posted by confused on July 16, 2000 at 21:10:53:
I am getting this error below: for this code below:
error C2679: binary '<<' : no operator defined which takes a right-hand operand of type 'class std::basic_string
for(int begin = 0; begin<5; begin++)
{
cout << flight[begin].name << flight[begin].number << flight[begin].origin<< flight[begin].hour<<":";
cout << flight[begin].minute << flight[begin].month<<"/"<
what's wrong with my program?