Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~702 People Reached
Favorite Forums
Favorite Tags
c++ x 12
Member Avatar for djJonno

Hi Guys, In my recent thread on a [URL="http://www.daniweb.com/forums/thread102215.html"]polymorphism problem[/URL] I thought I had it all figured out but now I have I new problem. Now I want to pass in 2 objects of either type bird or pigeon [code=cpp] int main() { Bird B1; Pigeon P1; DoSomething ( &B1, …

Member Avatar for djJonno
0
88
Member Avatar for djJonno

Hi, I've now spent hours looking at this and no joy, wondering if any of you guys can help. I am passing an object that uses dynamically allocated memory into a method, but for some reason when it finishes my original object has changed/been destroyed. header file: [CODE=cpp] class Multiset …

Member Avatar for djJonno
0
274
Member Avatar for djJonno

Hi, Just a short question. I was wondering if one has a base class for example bird and a derived class pigeon, if i instantiate an object of each class, B1 and P1. Is it possible to pass the address of B1 or P1 into a function such as DoSomething(&B1) …

Member Avatar for djJonno
0
278
Member Avatar for djJonno

Hi, First time posting here. Basically here's my project description. Implement classes for “Sets” e.g. (1,3,6) and “Multisets” e.g.(1,3,6,3,6,6). in C++. Needs to use Dynamic Memory. A single function CalculateAll(mySet1,mySet2) or CalculateAll(myMulSet1,myMulSet2) which displays union, intersection etc... Basically I must use The same function call CalculateAll to work on both …

0
62