Used maps in cpp