From af22676abf694d2746269d5ec693b8109f7cfb93 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Sun, 13 Aug 2023 21:36:07 +0200 Subject: Missing includes --- test/sudoku.cxx | 12 ++++++++++++ test/sudoku.h | 2 +- test/sudoku_sound.cxx | 3 +++ 3 files changed, 16 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/sudoku.cxx b/test/sudoku.cxx index 822508b7f..629dba3fb 100644 --- a/test/sudoku.cxx +++ b/test/sudoku.cxx @@ -15,6 +15,18 @@ // https://www.fltk.org/bugs.php // +// A Sudoku (i.e. the puzzle) is a partially completed grid. A grid has 9 rows, +// 9 columns and 9 boxes, each having 9 cells (81 total). Boxes can also be +// called blocks or regions.[1] Three horizontally adjacent blocks are a band, +// and three vertically adjacent blocks are a stack.[2] The initially defined +// values are clues or givens. An ordinary Sudoku (i.e. a proper Sudoku) has +// one solution. Rows, columns and regions can be collectively referred to as +// groups, of which the grid has 27. The One Rule encapsulates the three prime +// rules, i.e. each digit (or number) can occur only once in each row, column, +// and box; and can be compactly stated as: "Each digit appears once in each +// group." +// - wikipedia.org + #include "sudoku.h" #include "sudoku_cell.h" #include "sudoku_sound.h" diff --git a/test/sudoku.h b/test/sudoku.h index 05b8f1f63..817a9ad5d 100644 --- a/test/sudoku.h +++ b/test/sudoku.h @@ -67,4 +67,4 @@ class Sudoku : public Fl_Double_Window { }; -#endif _SUDOKU_H_ +#endif // _SUDOKU_H_ diff --git a/test/sudoku_sound.cxx b/test/sudoku_sound.cxx index 60acbf9c1..887313298 100644 --- a/test/sudoku_sound.cxx +++ b/test/sudoku_sound.cxx @@ -18,6 +18,9 @@ #include "sudoku_sound.h" #include +#include + +#include // Sound class globals... int SudokuSound::frequencies[9] = { -- cgit v1.2.3