title: C fscanf to read between square brackets
body: <p>I have a file which includes datas as </p>
  
  <p>[name surname] [birthday] [id]</p>
  
  <p>when i try this code</p>
  
  <pre><code>while(fscanf(file,"%s %s %s",name,bdate,uid) == 3)
  </code></pre>
  
  <p>bdate gets  surname] as a value</p>
  
  <p>how can i read informations between square brackets.
  thanks.</p>