Posted by Ethan on July 17, 2000 at 08:57:23:
In Reply to: aligning the result posted by troubled on July 17, 2000 at 06:09:02:
: I am almost done with my project but still having trouble aligning the result... I tried using setw() command but it doesn't really work...does anybody have an idea why?
try using cout.setf(ios::left) or right whatever the case may be. to align everything left then when you want something aligned right use cout.unsetf(ios::left). it should work