Eclipse, input / cin

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 and so on..
does anyone know how this works in eclipse? thanks
Last edited on
Your question is a bit vague, could you please elaborate on details?
Last edited on
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.
Last edited on
Topic archived. No new replies allowed.