Mutiple string store in different variable c++
<p>This is my first time i post here so i'll try to be clear in my question. So i need to store different string with space in variable. Im working with eclipse and i have a problem. </p>

<p><em><strong>This is the code</em></strong></p>

<pre><code>using namespace std;
string p_theme;   
string p_titre;
int p_anneeEdition;
string p_pays;
string p_auteur;
string p_editeur;
string p_isbn;

cout &lt;&lt; "Veuillez saisir le thème:" &lt;&lt; endl;
getline(cin, p_theme, '\n');


cout &lt;&lt; "Veuillez saisir le titre:" &lt;&lt; endl;
getline(cin, p_titre, '\n');

....
</code></pre>

<p><em><strong>This is what the console show to me</em></strong></p>

<pre><code>Veuillez saisir le thème:
Veuillez saisir le titre:
</code></pre>

<p>The problem is that i dont have the time to enter the string "Theme" before the second cout. I've tried different way, with a char buffer it did'nt work i enter in a loop. So if someone can answer that would be really aprreciated.</p>

<p>Thanks a lot</p>
