Hi all,
I have created a class called SetApp. In these class, I declared several vectors, when I try to access any element of these vectors in the debugger I always get this msg '' Cannot access memory at address 0x68 ( or whatever the memory of the vector is ) ". I have searched a lot but I couldn't find any solution. I would be really gratefull if anyone could help me how to fix this, or suggest any idea
Here is a small sample of the code
class SetApp : public Object
{
public:
static TypeId GetTypeId (void);
SetApp ();
virtual ~SetApp ();
...
std::vector <int> Active
std::vector <int> Exit;
};
...
SetApp::SetApp ()
:
CarsNumber(0),
m_CAMPacketSize(400),
m_CumulativeThroughput(0),
m_E2E(0),
m_MyDelay(0),
m_TotalCars(0),
m_MyPDR(0),
m_nNodes (100),
Active(100,0),
Exit(100,0),
m_NoL(100,0),
m_Optional(100, 0),
InRange(100, m_Optional)
{
}