as most of ppl here should know, press "enter key" close the programm/window, then I dont know how use cin<< number , if I cant enter number because pressing enter finish it. How then enter some number ? Is there some key configuration where I can change keys or some way to enter values ?
After looking for whole day couldnt find a solution because put c++ on google search open lot of stuff and atm never found correct one, so asking here.
ps: sorry bother with this question and thanx a lot for the help
there's no code problem. Pressing "enter" key programm ends, the window closes or how ever its called ( im noob ) I cant use "enter" to enter a value for the "cin<<" code . Maybe example ?
......... ( code )
cin<< ..... ( here user must enter some value, int/float etc ) what key need press ?