M
murali
map<float,int> m;
typedef map<float,int>::const_iterator iter;
This declaration works fine in linux and the program also runs fine.
But in VC++:
error C2653: 'map<float,int,struct std::less<float>,class
std::allocator<int> >' : is not a class or namespace name.
Can anyone throw light how to fix this error.
Thanks,
Murali.
typedef map<float,int>::const_iterator iter;
This declaration works fine in linux and the program also runs fine.
But in VC++:
error C2653: 'map<float,int,struct std::less<float>,class
std::allocator<int> >' : is not a class or namespace name.
Can anyone throw light how to fix this error.
Thanks,
Murali.