help key config

Jun 25, 2013 at 5:33am
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
Jun 25, 2013 at 5:44am
I'm not sure if I understand your question fully. Please post your code to clarify what you are trying to do.
Jun 25, 2013 at 7:05am
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.
Jun 26, 2013 at 3:54am
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 ?

Jun 28, 2013 at 12:13am
Post the full code.
Topic archived. No new replies allowed.