i am a c programmer, 6 month old for c++.
i am trying to add some feature to a huge c++ base code !.
stuck at this funtion . ( function names/varibles names modified )
void MCE::AddM( int Cid, int Tid, int Rid)
TrInstEntry* pTrInstanceEntry = (TrInstanceEntry*)m_MappingList->find(Tid);
if ( pTrInstanceEntry == 0 )
if ( nRbId != UNKNOWN )
pTrInstanceEntry = new TrInstanceEntry( Cid, Tid, Rid);
pTrInstanceEntry = new TrInstanceEntry(Cid,Tid );
later in the code i see the find being called with different ids..
for eg : id is from a array of Cids, we call, the
also i see, m_MappingList being called with Tid type...
i was thinking the id is a kind of key..i am not sure, how we can access the same database without indicating which key we are using ! Confused, help me...