I see no attempt to call cout.fill() in the code you posted.
Please show the code that is not compiling, along with the exact text of any error messages from the compiler.
i put it under char
I don't know what that means.
PLEASE ALWAYS USE CODE TAGS (the <> formatting button) when posting code.
It makes it easier to read your code and also easier to respond to your post. http://www.cplusplus.com/articles/jEywvCM9/
Hint: You can edit your post, highlight your code and press the <> formatting button.