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
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.