help key config

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
I'm not sure if I understand your question fully. Please post your code to clarify what you are trying to do.
If you don't post your code we can't see the problem.
Based on what you said it seems like the solution is entering a number before pressing enter.
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 ?

Post the full code.
Topic archived. No new replies allowed.