Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma once
- #include <iostream>
- #include <stdio.h>
- #include <fstream>
- #include <string>
- #include "node.h"
- #include "Sudoku.h"
- using namespace std;
- class node
- {
- public:
- node();
- ~node();
- private:
- int x;
- int y;
- node* prev;
- char* val;
- char arrint[9];
- node* next;
- friend class Sudoku;
- };
- class Sudoku
- {
- public:
- Sudoku();
- ~Sudoku();
- node* head; node* tail;
- void read_File(char TowD[9][9]);
- void search(int x, int y, char TowD[9][9], char arr[9]);
- void Store(int i, int j, char TowD[9][9], char chance[9]);
- void solve(char towd[9][9]);
- void addNode(char towd[9][9], int i, int j, char chance[9]);
- void backTrack(char towd[9][9], int i, int j);
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement