Ok.. i use dev c++ and when i make a console app that requires a varible to type in, it doesnt stay open. I was trying one day to do one of the example programs off this site that required a varible which was your age, when i used a command the page said for dev to keep the window opn, it closed the window when enter was pressed


What command do i use to keep the window open and close it if pushed.. like if i wanted a to close it while some part of code keeps it open until "a" is pressed