title: Why do we need to use cin.ignore() before getline(cin, string)?
body: <p>Why do we need to use <code>cin.ignore()</code> before taking input in a string?</p>
  
  <p>What is the backhand process? Why does it skip the input in a string (if we call <code>getline</code> function for more variables) if we don't use <code>cin.ignore()</code>?</p>