void DummyMethod(void)
{
Map<char, int> _map; //The first element is the key and the second is the Value
//Keys must be unique like primary keys in databases
_map.Insert(MapEntry<char, int>('a', 55));//Inset our first entry
_map.Insert(MapEntry<char, int>('b', 22));//Inset our second entry
_map.Insert(MapEntry<char, int>('c', 22));//Inset our third entry
_map.Insert(MapEntry<char, int>('b', 11));//Wait we have already got an entry
//with this key so it will not get added
//Ideally what you would so is check if a key exists first
//If the key exists it will return its position,
//however if the key does not it will return -1
int valueA = _map.FindKey('b');//This will return 1 as 'b' exists
int valueF = _map.FindKey('f');//This will return -1 as 'f' does not exist
unsigned int count = _map.Count();
FOR_EACH_MAP(_map, count, c) //This Macro will iterate through each element in order
{
printf("First-[%c] Second-[%i]", _map[c].First(), _map[c].Second());
}
}