I'm making a program to enter and store cheats. I have the main menu that comes up asking for your choice. Delete code, Enter code etc. When the user enters the choice it brings up the new menu. But you can still see part of the old menu. How would I go about fixing this so the user only sees the new menu. I tryed using more blank printf(); but that just made the new menu and the ver bottom of the DOS screen. I want it centered like the First main menu. How would i go about doing this?

I've attaced the soure code if you want to look at it. Pluse could you please look at it and give me feed back on it. This is my first program i'm working on. I would like to know what i'm doing wrong. It only ask you for your menu choices it cant save or search for anything yet. Not that far in the book 20 more pages to go then it will be able to save and search for stuff.