Originally Posted by claudiu It's not a good practice. Use cin.get() to wait for another character to be pressed before having the window closed. cin.get() before return 0; gives me a error. do I need to include# < ????> Thank you