To my knowledge, the setfill and setw() effect only the next single output statement, if you want all lines to look like that you could create a loop or define each one, line by line.
The endl is coming after "Coke World!" like it should. There is no newline after Coke World!, the endl does exactly like it should. Then setfill()/setw() only affect Cola.
WOW... LOL I can't believe that I missed that... I was reading what you guys said and looking at my code and it came to me lol.... cout << setfill( '-' ) << setw( 18 ) << " " << endl;
Thanks a lot... Sorry it was such an easy question.