dont use :
people can replace cls on your system with, say, a virus or the fdisk command or sommat....... its a security issue. Read up on the Windows console API, or go look at the FAQ.... Prelude wrote it, so......Code:system ("CLS");
*all praise almighty, prelude, who provides answers to all *
EDIT : btw, get very used to compile errors.... and thank your compiler development team when you see them. Imagine debugging without them! Besides, you have yet to have some fun with runtime errors...... fun having your computer crash because you overstepped the end of your vector, or forgot to initialise you variables......