title: How can I print the frames per second on my window's title in glut?
body: <p>I tried this:</p>
  
  <pre><code>    char window_title[20]; 
      sprintf(window_title, "%f", fps);
  
      glutCreateWindow(window_title);
  </code></pre>
  
  <p>And isn't updating (remains 0)
  I checked fps being updated via printf.  </p>
  
  <p>How can I update the title?</p>