C++ iomanip Alignment
<p>I'm trying to align my output but for some reason I can't get it to
how I want it, and it's really frustrating. The title won't align right.
I don't know if I'm using setw() properly.</p>

<pre><code>#include &lt;iostream&gt;
using std::cout;
using std::endl;
#include &lt;string&gt;
using std::string;
#include &lt;assert.h&gt;
#include &lt;iomanip&gt;
using std::setw;
using std::right;
using std::left;

//Movie Struct to hold movie data
struct MOVIES
{
    string Title; //Name of movie
    int CriticRating; //Critic rating 1-100
    int AudRating; //Audiences' rating 1-100
};
MOVIES Movies[10] = { { "The Wizard of Oz", 99 , 70 },
                      { "The Third Man"   , 78, 45 },
                      { "Citizen Kane"    , 86, 85 },
                      { "Charlie Chaplin in Modern Times", 56, 95 },
                      { "All About Eve"   , 78, 94 },
                      { "The Cabinet of Dr. Caligari"    , 76, 90 },
                      { "The God Father"  , 99 , 98 },
                      { "E.T. The Extra-Terrestrial"     , 98 , 71 },
                      { "The Beatles: A Hard Day's Night", 87 , 90 },
                      { "Monty Python and the Holy Grail", 100, 100 }
                    };


void PrintMovies(MOVIES* movies, int numMovies)
{
    cout &lt;&lt; "Movies" &lt;&lt; endl
         &lt;&lt; "Critic" &lt;&lt; setw(10)
         &lt;&lt; "Audience" &lt;&lt; setw(10)
         &lt;&lt; "Title" &lt;&lt; endl;

    for (int i = 0; i &lt; numMovies; i++)
    {
        cout &lt;&lt; setw(6);
        cout &lt;&lt; movies[i].CriticRating &lt;&lt; right;
        cout &lt;&lt; setw(6);
        cout &lt;&lt; movies[i].AudRating &lt;&lt; right;
        cout &lt;&lt; setw(6);
        cout &lt;&lt; movies[i].Title &lt;&lt; left;
        cout &lt;&lt; endl;
    };
}

int main()
{
    PrintMovies(Movies, 10);

    return 0;
}
</code></pre>

<p>//Sample Output of what I need
<a href="https://i.stack.imgur.com/u0o8U.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/u0o8U.png" alt="Results wanted"></a></p>

<p>However this is what I'm getting instead 
<a href="https://i.stack.imgur.com/XFxFd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XFxFd.png" alt="Unwanted result.."></a></p>