-----------------------------------
tinyloc.c
-----------------------------------
The tinyloc.c program calculates the qth locator from geographical
coordinates and vice versa using only 16-bit signed integer data
types, developing in C the ideas of the TINYLOC software written in
Tiny Basic.
Link to the source code:
tinyloc.c
You can easily compile the source code for your platform with a C
compiler.
The source code is written in plain C, no extra libraries or header
files are required (except for <stdio.h>).
Popular free compilers you can use are MinGW for Windows platforms
and gcc for Linux and Mac OS X.
To compile the source code on linux systems with gcc move tinyloc.c
to your home or work directory, open a terminal, cd to your home or
work directory and type
gcc ./tinyloc.c -o ./tinyloc
at the prompt.
Type ./tinyloc to run the program (don't forget the "./" if your
home or work directory isn't in your path).
tinyloc.c is released under the terms of the GNU General Public
License as published by the Free Software Foundation, either version
3 of the License, or (at your option) any later version, and is
distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
License for more details.
Screenshots/usage
Running tinyloc: calculating qth locator from lon/lat
Running tinyloc: calculating lon/lat from qth
locator