Table code

What is the write way to create a table using the header <iomanip>?
I'm trying to use the code below but for the third line I don't get the line with the setfill of ('-').

1
2
3
 cout << "Certificate of Deposit Rate:" << endl;
    cout << "Bank"<< setw(15) << "Interest" << setw(15) << "Times" << setw(15) << "Total" << endl;
    cout << setfill('-') << setw(15) << setfill('+') << setw(1);
Topic archived. No new replies allowed.