rajveer
22nd January 2009, 08:44
hi
i have declared a structure having members as string and int.
now how can i make a function for comparision so that i used it in map.
map<key,value,function>
in function field i need user define function which takes one argument as string and other as int.
please help me out.
thanks
i have declared a structure having members as string and int.
now how can i make a function for comparision so that i used it in map.
map<key,value,function>
in function field i need user define function which takes one argument as string and other as int.
please help me out.
thanks