okay so i changed all the problematic names in the data.txt to be 6 letters or less to allow the final zero bit for the string

and is this how I am supposed to implement the clear page coding?

Code:
struct Transaction {
    int type;		
    int key;		
    int value;	
    char name [7];

   for(i = 0; i < 45; i++)
   putchar('\n');

};
Thanks