int main()
{
cout << "Buy or sell (b/s): " << endl;
string buy_sell;
cin >> buy_sell;
.....
}
when i try to step through this in Xcode, i just stops at the cin >> buy_sell line, because it's waiting for the user input. How do i enter the value i want in the debugger so i can move past this? I'm using Xcode 3.2.1.
(I know i could just comment out the cin lines and define the variable in the code for debugging purposes, but that would be very tedious, and i feel like there should be an easy way to enter input that i just don't know about.)