I encountered a problem when tried compiling the following code:
#include #include #include #include
You can't have statements like mapDial['A'] = 2; at global scope. They must be inside a function.
mapDial['A'] = 2;