so i tried to create a map of numbers and with the number of times
thata specific number appears as follows :
map<int,int> allNumbers;
const int MAX=10;
void storeNumbersToMap()
{
int j=0;
for(int i=0; i<allSetsOfNumbers.size();i++)
{
vector<int>numbers= allSetsOfNumbers[i].getNumbers();//returns
const vector
while ( j < MAX )
allNumbers[numbers[j]]++;
}
}
but i keep getting the following error message...........
C:\Lottery\lottery.cpp(206) : warning C4786:
'std::reverse_bidirectional_iterator<std::_Tree<in t,std::pair<int
const ,int>,std::map<int,int,std::less<int>,std::allocat or<int>
::_Kfn,std::less<int>,std::allocator<int> >::iterator,std::pair<int
const
,int>,std::pair<int const ,int> &,std::pair<int const ,int> *,int>' :
identifier was truncated to '255' characters in the debug information
can anyone tell me why.....what does this error mean? i thought that a
map can hold elements and values of any type?
thanks
Liza