So, after finally figuring out how to read input with spaces, I end up with a second problem: I have to hit the enter key twice for the system to finally get the line.
That's my code. Whenever I enter something, I hit the enter key, and nothing happens. When I hit it a second time, it shows the output from the cout. Any ideas?PHP Code:
using namespace std;
cout << s;