However, I have received error :
In function ‘void CacheEntryRemoved(std::string, ns3::Ptr<const ns3::ndn::cs::Entry>, ns3::Time)’:
../scratch/test1.cc:35:1: error: ‘ContentStoreImpl’ was not declared in this scope
ContentStoreImpl *Content=new ContentStoreImpl ();
I will become thankful, if you guide me to solve this problem
Thanks in advance
best regards
Thanx u so much for replying.
yes I have not defined namespace but if I define like below
using namespace ns3::ndn::cs::ContentStoreImpl;
I have received the error :
error: ‘ContentStoreImpl’ is not a namespace-name
using namespace ns3::ndn::cs::ContentStoreImpl;
May you please help me how I can access this class(ContentStoreImpl) in test.cc function. However,I think the default value for invalid_content should be zero, if I do not initialize it.
please accept my apologize, since my programming is not good
thanks
regards