|
-
October 13th, 2010, 09:37 AM
#1
Obtain a pointer to data inside a trend items array
position = m_TrendItems[pen].GetTrendPoints().GetHeadPosition();
while(trendpoint .m_time < requiredtime)
trendpoint = m_TrendItems[pen].GetTrendPoints().GetPrev(position);
m_TrendItems is the global array which has almost 10,000 points for each pen. My question is instead of getting the trendpoint, i want to get the pointer for the (position or point).
I want to store this pointer in a separate array and use it in the future so that i don't have to go from the head position always.
How can i do this?
Do i have to go through all the time i have to find a point can't i store a pointer?
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|