Im trying to align my screen ouput. At the moment Ive been using setw and \t. They don't seem to line up correctly. I dont know why the first one hasn't got the got the correct alignment or y its different from all the others. My program is pretty complecated(well atleast it is to me) so I CANNOT simply adjust the first type and wage by simply doing this
cout << " ";
ive also tried the following
cout << setw(n);
cout << "\t\t";
I just need to know how to align these up properly. is there any other ways?
ID NAME TYPE WAGE
1 Sam Casual $1640
2 Serena Casual $1640
3 Bryce Manager $2000
4 Fred Manager $2000
5 Grey P/T $1000
6 Bluey P/T $1000
Also does anone know how to export your file to a CSV file? If so where can I learn? Are there some good tutorials on the net? How do I save the output in a text file with the contents marked up with HTML? If anyone knows where I can learn that stuff that would be great...
CHEERS