A
aTuL
Hi All,
I want to create a map of key and another map object (it is another
map of key value pairs). I have declared it as
map<int, map<short, short>> mpObj; it gives me an error that, "error:
ISO C++ forbids declaration of ‘map’ with no type". Does this mean I
can not create a map of a map the object? Have I done something wrong?
Any pointers to any tutorial?
Atul.
I want to create a map of key and another map object (it is another
map of key value pairs). I have declared it as
map<int, map<short, short>> mpObj; it gives me an error that, "error:
ISO C++ forbids declaration of ‘map’ with no type". Does this mean I
can not create a map of a map the object? Have I done something wrong?
Any pointers to any tutorial?
Atul.