title: Scanf allow space between words
body: <p>I am try to read in some data with an id followed by firstname lastname from a text file and I cannot seem to get scanf to allow the space.</p>
  
  <p>input may look like:
  123456 FirstName LastName</p>
  
  <p><code>scanf("%d%s", &amp;id, fullName)</code> doesn't work because it cuts off at the space between first and last name. I would like to have 'first last' in one string (preferrably without concat because there are instances where the last name is not included).</p>