All pastes #338369 Raw Edit

Mine

public text v1 · immutable
·published 2007-02-03 11:19 UTC
rendered paste body
	map<int, int> m;

	m[1] = 3;
	m[3] = 5;
	for (map<int,int>::iterator i = m.begin(); i != m.end(); ++i)
		printf ("%d=%d\n", (*i).first, (*i).second);
	printf ("1=%d\n", m[1]);
	printf ("3=%d\n", m[3]);