I'm writing a C++ console Tic Tac Toe game where the players enter coordinates to place the X's and the O's. It should look like that:

Code:
Enter coordinates: (x, y)
Where x and y are input. But by pressing enter it skips a line so the output is messed up.
Is there a way to use cin so that it doesn't skip the line when pressing enter?

Here's the code snippet:

Code:
	cout << endl;
	cout << "Enter coordinates: (";
	cin  >> x;
	cout << ", ";
	cin  >> y;
	cout << ")" << endl;