Hello Everybody ,
i have array of size 9x9 i want to write a function to Check each 3x3 box
Ahmed_62
-3
Newbie Poster
Recommended Answers
Jump to PostThis sounds like some sort of Sudoku type problem. Researching C++ source code for Sudoku should give you some samples to work with.
Jump to PostStarting with a 9X9 array(row,column)
One way is with another 9X9 array(square,cell), but this one arranged by each 3X3 square. Assuming the squares and the 3X3 cells can be indexed like:0 1 2 3 4 5 6 7 8
Each row/column coordinate of the original …
All 5 Replies
ddanbe
2,724
Professional Procrastinator
Featured Poster
tinstaafl
1,176
Posting Maven
Ahmed_62
-3
Newbie Poster
tinstaafl
1,176
Posting Maven
Ahmed_62
-3
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.