why cant i print what are the contents store inside got
got is an iterator. You're probably not interested in what's inside got as it won't mean anything to you. At any rate, there isn't a standard stream operator for it.
If you really want to see what's inside got, you'll need to run your program in a debugger and inspect the data structure. At least there, you'll be able to follow pointers and so on.
It only makes sense to check against mymap.end(), to deference it and increment it (and of course intialise it).