@@ -18,7 +18,7 @@ A C++17-compatible header that provides useful functions which help with the sol
1818## Usage
1919
2020* Simply download the ` src/sudoku_suite.h ` file and move it to your project's directory.
21- * Include the header file , as shown below in the examples, and use the functions you need!
21+ * Include the required header files , as shown below in the examples, and use the functions you need!
2222* ** NOTE:** The code is incompatible with pre-C++17 versions. While compiling, you'll have to compile with the ` --std=c++17 ` flag.
2323 * For example; when using the clang compiler, the compile command would be ` c++ --std=c++17 /path/to/file.cpp `
2424
@@ -51,7 +51,8 @@ There are **three functions** that Sudoku-Suite provides the developer, along wi
5151#### Solving and validating Sudoku puzzle
5252```
5353#include<iostream>
54- #include"/path/to/sudoku_suite.h"
54+ #include"/path/to/src/sudoku_solver.h"
55+ #include"/path/to/src/sudoku_validator.h"
5556
5657int main() {
5758 sudoku::Grid grid({{
@@ -80,7 +81,7 @@ int main() {
8081#### Generating a Sudoku puzzle
8182```
8283#include<iostream>
83- #include"/path/to/sudoku_suite .h"
84+ #include"/path/to/src/sudoku_generator .h"
8485
8586int main() {
8687 sudoku::Grid grid = sudoku::generate_puzzle();
@@ -93,7 +94,10 @@ int main() {
9394#### Initialising and reusing Grid objects
9495```
9596#include<iostream>
96- #include"/path/to/sudoku_suite.h"
97+ #include"/path/to/src/grid.h"
98+
99+ /* NOTE: If you only need to utilise the Grid object,
100+ * you can just import the "grid.h" header alone. */
97101
98102int main() {
99103 //================
@@ -162,7 +166,10 @@ File: `sample1.txt`
162166
163167```
164168#include<iostream>
165- #include"/path/to/sudoku_suite.h"
169+ #include"/path/to/src/grid.h"
170+
171+ /* NOTE: If you only need to utilise the Grid object,
172+ * you can just import the "grid.h" header alone. */
166173
167174int main() {
168175 sudoku::Grid grid;
@@ -179,7 +186,10 @@ int main() {
179186#### Operations on Grid objects
180187```
181188#include<iostream>
182- #include"/path/to/sudoku_suite.h"
189+ #include"/path/to/src/grid.h"
190+
191+ /* NOTE: If you only need to utilise the Grid object,
192+ * you can just import the "grid.h" header alone. */
183193
184194int main() {
185195
0 commit comments