Well you're doing basic console programming there. If you want a message box, you're gonna need to use the Win32 API. I don't know anything about it really, do some searching for Win32 API tutorials, or talk to SilentRage.