Computer Science A - 10/25/99 apstring front(const apstring& original, char character) { int pos = original.find(character); if(pos != npos) return(original.substr(0, pos)); else return original; } void checkNumber(apmatrix& board, int& spotsCovered, int Number) { for(int row = 0l row < board.numrows(); row++) for(int col = 0; col < board.numcols(); col++) if(board[row][col] == number) { board[row][col] = 0; spotsCovered++; return; } }