The software on this site may be used freely.
You should use only if you agree to the
freeware disclaimer.

The programs here are Microsoft® Visual C++® Console Applications.
To make a copy of a console:
Click the upper left corner button, and Edit, Select All.
Click the upper left corner button, and Edit, Copy.
Paste to a text file.
To paste input, such as, a file name, into a console:
Copy the file name from somewhere.
Click the upper left corner button, and Edit, Paste.
There are source code files and CLR and Win32 applications for the programs described below.
Note: Run times are for a 2.2 GHz PC.

| AdjacentCornerSquares | Win32 exe | CLR exe | C code |
|---|

| AdjacentSideSquares | Win32 exe | CLR exe | C code |
|---|

| AssociativeSquares | Win32 exe | CLR exe | C code |
|---|

| BorderedSquare | Win32 exe | CLR exe | C code |
|---|

| BorderedSquares | Win32 exe | CLR exe | C code |
|---|
Output files are in folder BorderedSquares[_n].

| BorderedSquares1 | Win32 exe | CLR exe | C code |
|---|

| BorderingSquares | Win32 exe | CLR exe | C code |
|---|

| CompositeSquares | Win32 exe | CLR exe | C code |
|---|

| FranklinMagicSquares | Win32 exe | CLR exe | C code |
|---|

| Most-perfectSquares | Win32 exe | CLR exe | C code |
|---|

| PandiagonalSquares | Win32 exe | CLR exe | C code |
|---|

| SelfComplementSquares | Win32 exe | CLR exe | C code |
|---|

| SymlateralSquares | Win32 exe | CLR exe | C code |
|---|


| Order5 | Win32 exe | CLR exe | C code |
|---|
Files are output in folder Order5[_n]. There are 25 .txt files, one each for the squares with the same center value. The files contain only the squares in a single column. Numbers are separated by white space characters, (blank, newline).
WARNING: The files are large, ranging from 341 MB to 1,492 MB, (total 21 GB).

| Order5Special | Win32 exe | CLR exe | C code |
|---|

| Order5Count | Win32: 7 minutes | CLR: 11 minutes | C code |
|---|

| Order6C | Win32 exe | CLR exe | C code |
|---|
See Order6CDoc.txt and Order6CExamples.txt. Output files are in folder Order6C[_n].

| Order6CSample | Win32 exe | CLR exe | C code |
|---|

| Order6Ccount | Win32: 5 minutes | CLR: 7 minutes | C code |
|---|

| Order7Ccount | Win32: 4 h 40 m | CLR: 5 h 23 m | C code |
|---|

Input for these programs is a .txt file containing one or more number squares of the same order. The text file must contain only the square numbers separated by white space characters, (blank, horizontal tab, newline).
You will be prompted first to input the order of the squares, and, then the file name. The file name can be the absolute path name or the path name relative to the folder containing the program. It is not necessary to enter the .txt extension. For example, if program Frenicle is in folder C:\Squares and the file is C:\Squares\order4squares.txt, the file name can be entered as any of:

| Bones | Win32 exe | CLR exe | C code |
|---|

| CopySquaresByNumber | Win32 exe | CLR exe | C code |
|---|

| CopySquaresByType | Win32 exe | CLR exe | C code |
|---|

| Frenicle | Win32 exe | CLR exe | C code |
|---|

| GetMagic | Win32 exe | CLR exe | C code |
|---|

| GetType | Win32 exe | CLR exe | C code |
|---|

| Rotate | Win32 exe | CLR exe | C code |
|---|
Number Rotation
-------- -----------------------------------------------------
0 none
1 clockwise 90°
2 180°
3 counterclockwise 90°
4 180° about middle vertical or Y axis, (= mirror)
5 180° about main forward diagonal, (= mirror + 1)
6 180° about middle horizontal or X axis, (= mirror + 2)
7 180° about main back diagonal, (= mirror + 3)
8 all

| Transforms1_2 | Win32 exe | CLR exe | C code |
|---|
The flow chart is:
--------------->--------- enter the order
^ |
| enter the file name
| |
| ----------->--------- enter the rows(s)
| ^ ^ |
| | | transform squares
| | | |
| | <- YES <- transform transformed squares?
^ ^ |
| | NO
| | |
| <----- YES <--- transform original squares?
| |
| NO
| |
<--------- YES <----- transform another file?
|
NO
|
end

| Transforms1_2All | Win32 exe | CLR exe | C code |
|---|

| Complement | Win32 exe | CLR exe | C code |
|---|

| AssocPan | Win32 exe | CLR exe | C code |
|---|

| Most-perfectToFranklin | Win32 exe | CLR exe | C code |
|---|

| WaterRetention | Win32 exe | CLR exe | C code |
|---|
See requirements for the input file under the Utility Programs heading. An example text file of the 880 order 4 magic squares is provided. Output .html files are in folder Water<N>[_n]. If the input file is large, output may be split into a number of files. Here is an output example:


| WaterRetention3D | Win32 exe | CLR exe | C code |
|---|

Output files are in folder Water<N>_3D[_n]. The files are in Scalable Vector Graphics (SVG) format. There is one .svg file for each square in the input file.
You may need to install a viewer like Win 98-XP from Adobe, before your browser will open .svg files. Another way is to download and run a program such as Windows - installer from Inkscape. With Inkscape you can open a .svg file and save it as a .png.

| WaterRetentionSort | Win32 exe | CLR exe | C code |
|---|

| formatZtoW | Win32 exe | CLR exe | C code |
|---|