I'm trying to output data in a table using a FOR loop. The first field is the Name, and I want it aligned left, so I use setiosflags(ios::left). The rest of the fields I want aligned right, so I used setiosflags(ios::right), but it still aligns left. I also tried resetiosflags(ios::right), and that doesn't work either. The whole table aligns left. Please help! Thanks.
