How do I cout items right below the category? : [image][1]


  [1]: http://i.stack.imgur.com/zvKLa.png
Yeah so I guess the question is self evident from the image,I want the output text to be right below its category(eg. ID, name etc.)  
  Here is the code snippet:  

     FILE *fp;
    	fp = fopen("Records.txt","r");
    	cout<<"Category     ID     Name     Author     Quantity     Price     Rack\n\n";
    	while(fread(&b,sizeof(b),1,fp)==1){
        	cout<<b.category<<"     "<<b.id<<"     "<<b.name<<"     "<<b.author<<"     "<<b.quantity<<"     "<<b.price<<"     "<<b.rackno;		
    		cout<<endl<<endl;
     	}
    	fclose(fp);
  

  Where "b" is object of class BOOK
Thank YOU!