new line in console when I use cin
<p>I have problem with an C++ exercise.</p>

<p>In the exercise I am supposed to make the user enter a date. </p>

<p>The problem is when I use <code>cin</code> the console jumps one line down when I push enter, so that it becomes something like this:</p>

<pre><code>Enter date please: 12

/23

/2001
</code></pre>

<p>instead of: 12/23/2001</p>

<p>Can someone please help me overcome this problem.</p>
