Solved

CList question

Posted on 1998-08-01
2
257 Views
Last Modified: 2013-11-19
I have in my code:
CList <CRecord,CRecord&> m_Node;
CList <CRecord,CRecord&> m_S2;
After modifing m_Node, I would like m_S2 to point (same address as) m_Node.
I have tried m_Node = &m_S2;
m_S2 = *m_Node;
nothing worked, I am lost, Please Help.
--MJ
0
Comment
Question by:maj030598
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 8

Accepted Solution

by:
trestan earned 100 total points
ID: 1320076
Declare the m_S2 as a pointer. Then the address of m_Node can be transfered to it.
CList <CRecord,CRecord&> *m_S2;
m_S2 = & m_Node;
Nice day.
0
 

Author Comment

by:maj030598
ID: 1320077
to make the problem more exact, I have the following:
CList (CRecord,CRecord&> m_Data

Then in the code I call the function

Find(&m_Data,int,double)
where find is defined as follows
Find (CList <CRecord,CRecord&> *m_Node,int,double)
{
when I set m_Node = m_S2; nothing happends to m_Data!!!
why is that?
}
Please make my day,

0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
In this post we will learn different types of Android Layout and some basics of an Android App.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

615 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question