u can declare and insert in this way
typedef mapfloat,int mmap;
for inserting within a for loop insert using cin
for(i=0;in;i++)
{
cinmmap[i];
}
--
You received this message because you are subscribed to the Google Groups
Algorithm Geeks group.
To view this discussion on the web visit
u can declare it without an initial size
typedef mapfloat,int mmap;
u can then insert values using cin within a for loop
for(i=0;i5;i++)
{
cinmmap[i];
}
c if this works
regards
anusha
On Aug 24, 8:46 pm, mohit verma mohit89m...@gmail.com wrote:
hey guys ,
i want to store 3 values