title: Updating table formatting in C language
body: <p>I am using C language. I want to display a table. I know how to display a normal table using <code>printf</code>. However I have many records (more than several thousand), and I want to keep two things on screen all the time and have the middle portion of record keeps updating...</p>
  
  <p>Suppose here is a table:</p>
  
  <pre><code>================================
  No.| Name | Some Data | Comments
  ================================
  001   xyz     234        abc
  002   uvw     5862       abc
  003   lmn     8993       abc
  004
  005
  006
  007
  ...
  ...
  ================================
  Some result analysis goes here: 
  ================================
  </code></pre>
  
  <p>Now lets assume there are thousand of entries in this table, and in less than a second this table is updating, eventually what will happen? I will loose the header and footer of table like: No, Name , Some data and comments, and in footer result analysis..</p>
  
  <p>What I want is to keep updating the entries but have the header and footer of the table remain. How can I implement this! Any idea?</p>