i have a std map that stores information obtained within main() and is then needed within a user defined function, and i was wondering if it was possible. i cant just pass the value of the map into the function, as the key is determined within the function itself.
if it is possible, how do i prototype the function, i.e. what do i set the parameter type as?
thanks