File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33To build the unit tests, execute:
44
5- cd unittest
6- gcc -O unittest.c -o unittest
5+ cd unittest
6+ gcc -O unittest.c -o unittest
77
88(Or if you need to make sure there are no warnings:)
99
10- gcc -Wall -Wstrict-prototypes -Wshorten-64-to-32 -O unittest.c -o unittest
10+ gcc -Wall -Wstrict-prototypes -Wshorten-64-to-32 -O unittest.c -o unittest
1111
12- To execute the tests, simply execute 'unittest' with no arguments.
12+ To execute the tests, simply execute:
13+
14+ ./unittest
Original file line number Diff line number Diff line change 33This directory contains a Mapcode encoding/decoding utility.
44To build the original Mapcode tool, execute:
55
6- gcc -O mapcode.cpp -o mapcode
6+ gcc -O mapcode.cpp -o mapcode
77
88(Or if you need to make sure there are no warnings:)
99
10- gcc -Wall -Wstrict-prototypes -Wshorten-64-to-32 -O mapcode.cpp -o mapcode
10+ gcc -Wall -Wstrict-prototypes -Wshorten-64-to-32 -O mapcode.cpp -o mapcode
11+
12+ For help, simply execute:
13+
14+ ./mapcode
15+
16+ As an example, type:
17+
18+ ./mapcode --decode NLD XX.XX
1119
12- For help, simply execute the binary file 'mapcode' without no arguments.
1320This tool provides a rather extensive command-line interface to encode and
1421decode Mapcodes.
1522
You can’t perform that action at this time.
0 commit comments