c++数独软件,求大家帮个忙
教授要球写个数独得程序,这个function编不出来。这是RME,求大家帮个忙// REQUIRES: nothing
// MODIFIES: the input stream
// EFFECTS:
// clears any fail/error state and throws away input remaining on the line
// This MUST be done for every error state
// and done at the point where you know of the error
// If you are printing an error message, you need to consider if you
// need to call this function.
// Most times -- print error message AND call clearInput()
void clearInput();