input on eclipse

Hello i am using Eclipse and don't know how to test my program when i use cin for example when my program is running, type in a number.
does anyone know how this works in eclipse? thanks



When you use cin, in most cases your program have to get input from the user before anything happens and i don't know how to enter that input to my program on eclipse? e.g.




1
2
3
int myNum; 
          cout << "Enter a number: " << endl;
          cin >> myNum; 



after compile and execute there will be needed to enter a number, as it says in the code above.

i have posted this before on this forum but there was no answers really, so i try again hope its okay.

You have to enter a number in your console when the program is running, I think that's pretty obvious.
thats what i dont know how or where to do in eclipse, and was wondering if its even possible or someone can tell me how?
You might have messed with your eclipse and accidently closed your console tab. If not then you should see "console" on the bottom of your eclipse (under your code).
It is me who is inattentive, i found out thanks for the help :)
Topic archived. No new replies allowed.