Fri Nov 07, 2008 6:15 pm
m.insert(pair<const char* const, int>("a", 1));
m.insert(pair<const char* const, int>("c", 2));
m.insert(pair<const char* const, int>("b", 3));
m.insert(pair<const char* const, int>("b", 4));
m.insert(pair<const char* const, int>("a", 5));
m.insert(pair<const char* const, int>("b", 6));
a = 3
b = 6.3
c = 2
Fri Nov 07, 2008 6:17 pm
Struct valueInfo
{
int val_total;
int count
}
("a", (6,2))
("b", (13,3))
("c", (2,1))
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.