vishalag
0
Newbie Poster
Recommended Answers
Jump to PostWelcome to the forum Vishal, Your question is very faint for us, without knowing your actual implementation. Please post example codes so we can have an idea about what exactly your problem is.
Jump to PostAre you sending a copy of the object or a reference.
Or is it through a pointer .class Tree{ //values }; void f1() { Tree x; //put values into x f2(x); } void f2(Tree& temp) { //DO something with tree(temp) }
All 5 Replies
Sky Diploma
571
Practically a Posting Shark
vishalag
0
Newbie Poster
Sky Diploma
571
Practically a Posting Shark
vishalag
0
Newbie Poster
Sky Diploma
571
Practically a Posting Shark
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.