Code: Select all
void person::tellFriends()
{
if(this->told == false);
{
Code: Select all
void person::tellFriends()
{
if(this->told == false);
{
Sorry, I have to keep that confidential due to contractual reasons.avansc wrote:where do you work if i may ask.
Why not? Andre(A) -> Claire(B) -> Mick(F).avansc wrote:in the method i showed. if we used your tree structure. F can in no way be a child of A.
MSc and 2 years in the industry.if i may ask, what is your technical background?
Yes. A link is not necessary has to be maintained via a pointer (*) or a reference (&), you can easily do this via a GUID. Out of interest, how are you maintaining the list of friends for a node?can you do tree traversal in C++ without pointers and references?