I want to increment the i without putting the whole statement in a loop.
#prag...
ostream &operator << ( ostream &output, const Course &xCourse )
{
int i = 0;
output << " " << i++ << ".| " << xCourse.code << " | " << xCourse.section << " |" << endl
<< " -----------------------";
return ( output );
}
Any ideas on how to do that.
tx.