Home » Community » Newbie corner » Void pointer to NTL Array and VectorMap
Void pointer to NTL Array and VectorMap [message #26390] |
Thu, 29 April 2010 19:14  |
manfhe
Messages: 5 Registered: April 2010 Location: Brasil
|
Promising Member |
|
|
Hello
I have a void pointer to an NTL Array and VectorMap, how do I receive the elements through the key?
The code looks like this:
typedef VectorMap<String, String> ntlMap;
typedef Array<String> ntlArray;
void* ptra;
void* ptrm;
ptra = new ntlArray;
ptrm = new ntlMap;
for(int i = 0; i < ((ntlMap*)ptrm)->GetCount(); i++)
((ntlArray*)ptra)->???? = ((ntlMap*)ptrm)->????;
And I would like to thank all contributors to this project. For beginners in C + + as I, U + + is a true teacher.
Grateful, Alan
|
|
|
Goto Forum:
Current Time: Mon Apr 28 19:48:27 CEST 2025
Total time taken to generate the page: 0.03847 seconds
|