Problem displaying correct HTML table.

Below is a link to my code. The problem I am having mostly is concerned with the void function at the bottom of the code. It is a function that writes the body of an HTML document that can be accessed in a browser. Right now it consists of a table with 2 columns labeled "KEY" and "VALUE" respectively. The way the code has it, it will display the integers 1-10 under the KEY column and zeros under the VALUE column. However, I am asked to give 255 rows and 2 columns where each row is the integer representation of the ASCII character and its count. Can anyone help me get this right?

Thank you for any help!
Topic archived. No new replies allowed.