The textbook's Graph example won't compile

NOTE: This is not my code. It is example code
I am learning about graphs and I want to run the textbook's Graph example on visual studio but It doesn't compile.

It says
'begin' : is not a member of 'ArrayDictinoaryIterator <KeyType , ItemType>

but this is taken exactly from the textbook so I don't really know what to do.
I was hoping someone could help. I uploaded the single .cpp file here: http://www.filedropper.com/graph1
It would be great if someone could find out why this is happening because I do not know.
Topic archived. No new replies allowed.