views:

7

answers:

0

hello all, i have code which initalised the itreator to 0 and it works in vc6 but if compile the same in vs2005 its giving error error C2679: binary '=' : no operator found which takes a right-hand operand of type 'int' (or there is no acceptable conversion)

the code is like MapofUsers::iterator itfind; itfind = 0;intialised in contructor