Skip to content
This repository has been archived by the owner on Feb 14, 2024. It is now read-only.

`C` functions for parsing alphabet into NATO phonetic alphabet and vice versa via files or command-line.

Notifications You must be signed in to change notification settings

dainank/nato-phonetic-alphabet-converter

Repository files navigation

NATO Phonetic Alphabet Converter

C functions for parsing alphabet into NATO phonetic alphabet and vice versa via files or command-line.

The nato[singleCharacter - 'A'] Code

It accesses an element from the nato array. The array index is calculated by subtracting the character 'A' (65 in ASCII) from the singleCharacter. This effectively converts the uppercase character (A-Z) to its corresponding index in the nato array (0-25).

Reference

Letter NATO
A Alfa
B Bravo
C Charlie
D Delta
E Echo
F Foxtrot
G Golf
H Hotel
I India
J Juliett
K Kilo
L Lima
M Mike
N November
O Oscar
P Papa
Q Quebec
R Romeo
S Sierra
T Tango
U Uniform
V Victor
W Whiskey
X Xray
Y Yankee
Z Zulu

About

`C` functions for parsing alphabet into NATO phonetic alphabet and vice versa via files or command-line.

Topics

Resources

Stars

Watchers

Forks

Languages