title: Displaying FPS in GLFW window title?
body: <p>Im trying to get my FPS to display in the window title but my program is just not having it.</p>
  
  <p>my FPS code</p>
  
  <pre><code>    void showFPS()
  {
       // Measure speed
       double currentTime = glfwGetTime();
       nbFrames++;
       if ( currentTime - lastTime &gt;= 1.0 ){ // If last cout was more than 1 sec ago
           cout &lt;&lt; 1000.0/double(nbFrames) &lt;&lt; endl;
           nbFrames = 0;
           lastTime += 1.0;
       }
  }
  </code></pre>
  
  <p>and i want it too go just after the Version here</p>
  
  <pre><code>window = glfwCreateWindow(640, 480, GAME_NAME " " VERSION " ", NULL, NULL);
  </code></pre>
  
  <p>but i cant just call the void i i have to convert it too a char ? or what ?</p>