That is because there is still a line end character(s) in the input stream after you enter 0 or 1. Modify your code as follows:
std::cout << "Please press 1 to confirm or zero to start again" << std::endl;
std::cin >> x;
cin.get();
You should also add code to convert the input strings to lower case for your equality tests.